View Single Post
Old 25th March 2013, 01:59
kareemhali kareemhali is offline
Junior Member
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't install Prestashop due to open_basedir error


After upgrading ISPconfig, I can't install Prestashop on my server anymore. I get this error, which happens on step (Configure Shop Information at 58%).

[Mon Mar 25 00:40:51 2013] [warn] [client] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/cms-shop/modules/error_log.txt/mails/en/) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/tmp:/var/www/ in /var/www/clients/client1/web6/web/cms-shop/classes/Tools.php on line 1264, referer:

I'm using Fast-CGI with SSL and SuEXEC ticked, and latest ISPconfig.

I tried setting file permissions, gave 777 to all files, didn't work. I tried putting directories in PHP open_basedir config on the site panel, didn't work, although I'm not sure if I put the correct directories.

When I disable it and put "none", installation works fine.

As I'm no PHP expert, I'm not sure if this is bad for the server to disable it completely or if it doesn't matter.

How can I fix it please?, also, what is the best settings on the site panel for a PrestaShop site.

Reply With Quote
Sponsored Links