vansrv7 Posted May 15, 2014 Share Posted May 15, 2014 I moved my PS 1.5.6.1 instalaltion from localhost to remote server. In the BO->Advanced Parameters->Informations I have an alert: Set writing permission to "modules" folder and subfolders Well, I tryed any possible combination of CHMOD value up to 777 but the message is still there. How to get rid of that error?? Link to comment Share on other sites More sharing options...
El Patron Posted May 16, 2014 Share Posted May 16, 2014 when changing a folder, any folder, you must do a recursive change, i.e all sub folder, all files all folders (typically) are 755 all files (again typically) are 644 .htaccess is 666 Link to comment Share on other sites More sharing options...
vansrv7 Posted May 16, 2014 Author Share Posted May 16, 2014 Thank El Patron, unfortunatelly if I set CHMOD as indicated, the message in BO is still present. More, I tryed to modify some translations. To avoid a Fatal Error I had to set CHMOD to 777 to correctly save the new translation. Am I supposed to set to 777 when modifying and the revert to 755-644 once done? Or should it work with the settings you indicated? Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 some of hosting use own other than "default" chmods, so the question is, where is your website hosted? i know several hosts which uses different permissions (and 777 not work there) like ovh, or aruba host Link to comment Share on other sites More sharing options...
vansrv7 Posted May 16, 2014 Author Share Posted May 16, 2014 Hi Vekia, I'm currently hosted on a VPS on Aruba. I'm not an expert so probably I'm missing something important related to the system configuration. Any help will be greatly appreciated since I noted that almost all the error and warning messages I see since the migration to the server are related to CHMOD settings. Link to comment Share on other sites More sharing options...
lcalin Posted November 26, 2014 Share Posted November 26, 2014 Hi, 755 permissions should be enough. Try "chown -R apache:apache " on store location should solve it. Regards Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2014 Share Posted November 27, 2014 i can confirm this is most common settings for directories all major hosting services uses this chmod Link to comment Share on other sites More sharing options...
El Patron Posted November 27, 2014 Share Posted November 27, 2014 the group owner should include your domain without www in almost all instances, shop does not run as 'apache', it runs as it's domain name. you can see actual owner using filezila... directories 755/files 644/.htaccess 664 happy prestashopping. Link to comment Share on other sites More sharing options...
lcalin Posted November 27, 2014 Share Posted November 27, 2014 Sorry, you are right about permissions. My point was that usually the error persists is there are some manual file transfers to site with filezilla or other tools and the owner of the file is set to root instead of proper owner. In this case you must manually reset the owner of all files. Link to comment Share on other sites More sharing options...
El Patron Posted November 27, 2014 Share Posted November 27, 2014 Sorry, you are right about permissions. My point was that usually the error persists is there are some manual file transfers to site with filezilla or other tools and the owner of the file is set to root instead of proper owner. In this case you must manually reset the owner of all files. yes, I agree with you..when posting we have to explain exact command. I have seen some weird setups before causing untold issues, especially when webmaster take short cuts, and unzips via ssh or other such method which sets owner incorrectly. I am sure this has ruined many business's. one should also create ftp for that domain and not use root ftp credentials, that can also lead to issues that are difficult to debug later, if not impossible. the best methodology for installing/transferring ps's is to search and find official doc or blog from PrestaShop. If Link to comment Share on other sites More sharing options...
abdullah salahaldin Posted November 28, 2014 Share Posted November 28, 2014 this command will work for you find /home/*/public_html/* -type d -exec chmod 777 {} \; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now