Jump to content

[SOLVED] Might have a permission issue, some advice would be nice


Vaupell

Recommended Posts

Well first of all, for some reason a lot of the folders has to be in 777 just for presta shop to work

under normal konditions, which is annoying, since my "OLD WEBSHOP" Oscommerce could

easy run on a SAFE setting.

 

Anyway, after having EVERYTHING on 777 to be able to update the modules

I switched folders back to 755 and files to 644

 

Those folders that require write permission HAS to be 777 for prestashop to even work.

 

But now I'm getting this error in the Advanced config information.

 

 

Warning on line 1865 in file /var/www/vhosts/myshop/myshop/httpdocs/classes/controller/AdminController.php
[2] file_put_contents(/var/www/vhosts/myshop/myshop/httpdocs/config/xml/default_country_modules_list.xml) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied

 

Also in the modules panel, i now get a LOOONG list of these as a popup, 

one for each module installed im guessing.

 

Warning on line 1629 in file /var/www/vhosts/myshop/myshop/httpdocs/classes/module/Module.php
[2] file_put_contents(/var/www/vhosts/myshop/myshop/httpdocs/config/xml/untrusted_modules_list.xml) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied

 

I confused, and have no idea what's going on, please advice ? 

Edited by Vaupell (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...