exorgroup Posted February 5, 2014 Share Posted February 5, 2014 I have installed PrestaShop on IIS server using Plesk to a root folder of a domain - it installed without any apparent issue Once I open the site, I get a bunch of similar errors: PHP Warning: file_exists(): open_basedir restriction in effect. File(C:\inetpub\vhosts\pharmamalta.com\httpdocs/themes/default/modules/blocksearch/C:\inetpub\vhosts\pharmamalta.com\httpdocs/modules/blocksearch/blocksearch-top.tpl) is not within the allowed path(s): (C:/inetpub/vhosts/pharmamalta.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\pharmamalta.com\httpdocs\classes\Tools.php on line 1380 I found that php.ini needs to be altered to have the following settings: extension = php_mysql.dll extension = php_gd2.dll allow_url_fopen = On register_globals = Off magic_quotes_gpc = Off allow_url_include = Off My server had these settings before installation. Any idea how to fix this? Link to comment Share on other sites More sharing options...
georgenl Posted February 12, 2014 Share Posted February 12, 2014 @exorgroup I just installed PrestaShop myself, and I started getting the same errors as you! After some digging around and playing around with its code, I found out that this is most probably caused by the fact that error_log php.ini setting was not set! If you set "error_log=<some_file_path>" (replace <some_file_path> with an actual file on your system) then PrestaShop should start working! Link to comment Share on other sites More sharing options...
exorgroup Posted February 17, 2014 Author Share Posted February 17, 2014 I followed gnl's advice and it did not work - reason > I am running plesk therefore the php.ini in the windows folder is not really used. If you are running Plesk then you should alter the setting in php.ini found at C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP53 or similar depending where PHP is installed for PLESK It also works if you set error_log = syslog Link to comment Share on other sites More sharing options...
Recommended Posts