Jump to content

Warning Error after fresh install!


Recommended Posts

I get a php error on my shop after a fresh install:

Warning: include(/xxx/xxx/website/shop/config/config.inc.php) [function.include]: failed to open stream: No such file or directory in /xxx/xxx/website/shop/index.php on line 3

Warning: include() [function.include]: Failed opening '/xxx/xxx/website/shop/config/config.inc.php' for inclusion (include_path='.:') in /xxx/xxx/website/shop/index.php on line 3

Fatal error: Class 'Configuration' not found in /xxx/xxx/website/shop/index.php on line 5




Can't find anything in the forums about this!

Any clues anyone?

Link to comment
Share on other sites

The Prestashop installer does not check whether every file was uploaded correctly. It only checks the permissions of a few directories. Your FTP client might have failed to upload some files and simply skipped over them to upload the rest of the files. In this case, you should check your FTP log to see which files failed to upload and then reupload them. From the error message, it looks like classes/Configuration.php was not uploaded.

Link to comment
Share on other sites

Hi Rocky, thanks for the reply, I checked and all the files that the error complains about do exist!

The permissions are however only set to 750, my hosting does not support 777 permissions as they say it's a security risk. And they say 750 permissions should be enough for Prestashop to run. Are they?!

Link to comment
Share on other sites

No, I don't think Prestashop will work without 777 permissions. I once moved a Prestashop website from one server to another and all the permissions were reset to be more restrictive. I couldn't get any images to upload or update any translations without changing the permissions of the img and translation directories to 777.

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