luminita Posted May 17, 2015 Share Posted May 17, 2015 I keep receiving this type of error in backend: Warning on line 181 in file /home/editall/public_html/webshop/modules/gamification/gamification.php[2] file_put_contents(/home/editall/public_html/webshop/modules/gamification/views/css/advice-1.6.0.14_518.css): failed to open stream: Permission deniedWarning on line 1926 in file /home/editall/public_html/webshop/classes/controller/AdminController.php[2] file_put_contents(/home/editall/public_html/webshop/config/xml/default_country_modules_list.xml): failed to open stream: Permission deniedWarning on line 1929 in file /home/editall/public_html/webshop/classes/controller/AdminController.php[2] file_put_contents(/home/editall/public_html/webshop/config/xml/modules_native_addons.xml): failed to open stream: Permission denied I don't know how to interpret it. thx Link to comment Share on other sites More sharing options...
las3r Posted May 17, 2015 Share Posted May 17, 2015 You should open up your FTP client, open up the folders that are referenced in the error message, and CHMOD those files (that have a permission denied statement) to CHMOD 755. Basically these files cannot be edited by php, therefor throwing errors. By setting this to 755 it means that PrestaShop (or its modules) have permission to modify these files, and thus the errors will go away. See this tutorial: http://www.stadtaus.com/en/tutorials/chmod-ftp-file-permissions.php Link to comment Share on other sites More sharing options...
luminita Posted May 18, 2015 Author Share Posted May 18, 2015 I did changed but the error still exist. I even changed to 777 and nothing. I have a print screen,. I have this kind of errors in all my backend. Link to comment Share on other sites More sharing options...
NemoPS Posted May 18, 2015 Share Posted May 18, 2015 Config is still 755 apparently. If 777 doesn't work either it might be an issue with your hosting, so you should get in touch with them Link to comment Share on other sites More sharing options...
las3r Posted May 18, 2015 Share Posted May 18, 2015 As a last resort you could try 7777 (4 times 7). Although this is a security risk it might work, as Nemo says, contact support for more help on this matter. Link to comment Share on other sites More sharing options...
El Patron Posted May 18, 2015 Share Posted May 18, 2015 if the shop does not run as 'group owner' then it really won't matter what the permissions are. see http://linux.die.net/man/1/chown 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