Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
Troubles installing
Avatar
Brian07002
Guest
Guests
Apr 2, 2015 - 9:57 am
sp_QuotePost Quote

Hi,

I have read (http://stackoverflow.com/quest.....ed-hosting) at the very last reply in that link that php safe mode is depreciated in php 5.3 so that shouldn't be the cause correct?

Avatar
Brian07002
Guest
Guests
Apr 2, 2015 - 10:45 am
sp_QuotePost Quote

Hi,

Figured it out! I deleted the install folder, then I then extracted the folder contents, uploaded it as normal, but I had to chmod the wp-content folder to 777, I had to look in the php file sp-load-install.php to figure that one out! Funny how things work sometimes.

Thank you
Brian

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 2, 2015 - 10:51 am
sp_QuotePost Quote

Glad you got there! Thanks for letting us know.

Avatar
Brian07002
Guest
Guests
Apr 2, 2015 - 10:59 am
sp_QuotePost Quote

Not a problem, I am checking through the script, it's looking pretty cool! I am figuring the usergroups and permissions settings, referring to the setup of the forums...I'll get it.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 2, 2015 - 12:35 pm
sp_QuotePost Quote

I hope it goes well.

andy-signature.png
YELLOW
SWORDFISH
Avatar
rmadla
Guest
Guests
Aug 12, 2015 - 11:59 am
sp_QuotePost Quote

I encountered the same problem, and tried the 777 work-around mentioned by Brian07002 as a temporary fix, to troubleshoot. (777 means that anyone and everyone can install and execute programs there!) Once I'd installed simple:press, I checked to see who owned the newly installed items. The listed owner was the group, "www-data."

In summary: at least on my machine, simple:press expects /wp-content to belong to www-data, but it actually belong to root.

Workaround: in a terminal in your WordPress directory, change the group for wp-content and its contents to www-data (sudo chgrp -R www-data wp-content/) and change permissions to 775 (chmod -R 775 wp-content/). That allows both root and members of www-data to read, write, and execute files, but does not allow strangers or intruders to do so.

I have not figured out why the owner of the WordPress folders is root while the owner of the simple:press folders is www-data. I suspect that there is a better work-around that mine, but 775 is safer than 777, so I thought I'd post.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2015 - 1:54 pm
sp_QuotePost Quote

Thanks for the input. Still not sure I completely follow you there!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 12, 2015 - 3:11 pm
sp_QuotePost Quote

The bottom line is that 'www-data' should be the owner of wp-content. It most certainly should NOT be 'root'. The whole point of wp-content is to give the user and other plugins a place to create files and folders necessary for them. Hosts should know this. So yes  - 'www-data' with permissions of 775 is absolutely what it should be.

andy-signature.png
YELLOW
SWORDFISH
Avatar
LEMONHEAD Arthur
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 1:52 pm
sp_QuotePost Quote

I had this error too.

If you are your own hoster, try to fix it in PuTTY by setting this rule :

Personally, it's OK.

chown www-data:www-data /var/www -R

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 29, 2015 - 7:13 am
sp_QuotePost Quote

Thanks for the info. Hope it helps someone...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626