View Single Post
  #1  
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

Hi,

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 82.37.187.108] 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/mysite.com/web:/srv/www/mysite.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in /var/www/clients/client1/web6/web/cms-shop/classes/Tools.php on line 1264, referer: http://mysite.com/cms-shop/install/i...p?restart=true


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.

Thanks,
Kareem.
Reply With Quote
Sponsored Links