Jump to content

<SOLVED> Permission denied error in Modules of Backend 1.4.0.17


Recommended Posts

SOLVED

When I am in the back office, and click on modules, I get the following error repeating several times (maybe 15 or 20 repeatedly) before showing the modules section further down:


Warning: file_put_contents(/var/www/html/prestashop_1.2/modules/dateofdelivery/config.xml) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/html/prestashop_1.2/classes/Module.php on line 873



For line 872 and 873 are as follows:

if (is_writable(_PS_MODULE_DIR_.$this->name.'/'))
file_put_contents(_PS_MODULE_DIR_.$this->name.'/config.xml', utf8_encode($xml));

Any idea of what may be causing this?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...