Jump to content

Error installing PrestaShop (ver. 1.6.0.8)


Recommended Posts

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

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

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

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... 

  • Like 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...