MauroG Posted June 24, 2014 Share Posted June 24, 2014 Hi. When I try to install prestashop with <mydomainprestashop>/install, it return this error message: Warning: require_once(/config/defines.inc.php): failed to open stream: No such file or directory in C:\inetpub\vhosts\prestashop\install\init.php on line 44 Fatal error: require_once(): Failed opening required '/config/defines.inc.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\prestashop\install\init.php on line 44 We have a web server with Windows web server 2008 r2 Any idea? Link to comment Share on other sites More sharing options...
El Patron Posted June 24, 2014 Share Posted June 24, 2014 do you have this file? config/defines.inc.php if you ftp'ed up your unpacked PrestaShop some files may not have made it correctly. Link to comment Share on other sites More sharing options...
MauroG Posted June 24, 2014 Author Share Posted June 24, 2014 do you have this file? config/defines.inc.php if you ftp'ed up your unpacked PrestaShop some files may not have made it correctly. Yes, the file exists. I didn't use ftp client because I have access directly to server with remote desktop... Link to comment Share on other sites More sharing options...
El Patron Posted June 24, 2014 Share Posted June 24, 2014 can you tell us the permissions set for folder config and permissions for defines.inc.php Link to comment Share on other sites More sharing options...
MauroG Posted June 25, 2014 Author Share Posted June 25, 2014 Ok. I've probably put more permissions than necessary... - IUSR - IIS_IUSRS - Plesk IIS WP User (IWAM_Plesk) - Plesk Domain User - Plesk IIS User All in full control The same for define.inc.php IIS Version 7.5 php version 5.2.17 I controlled with process monitor (processmon.exe) if there were problems with permissions on the config folder but everything seems ok Link to comment Share on other sites More sharing options...
MauroG Posted June 30, 2014 Author Share Posted June 30, 2014 What other checks can I do to try to run the installation procedure? Link to comment Share on other sites More sharing options...
Bill Dalton Posted July 1, 2014 Share Posted July 1, 2014 Looks like you may have a malformed path setup to php. Include_path='.;./includes;./pear that should look more like ;/path/to/php/pear 1 Link to comment Share on other sites More sharing options...
MauroG Posted July 3, 2014 Author Share Posted July 3, 2014 Thanks for reply. I found the problem: the realpath function. I must give the right permissios to parent folder otherwise realpath returns an empty string. Now I must understand which are these permissions without giving too many... 1 Link to comment Share on other sites More sharing options...
MauroG Posted July 3, 2014 Author Share Posted July 3, 2014 Instead of adding permissions to the root, I deleted realpath from all the files which used it and the installation was successful. But the panel interface is not complete. Which could be the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now