antlers Posted October 28, 2009 Share Posted October 28, 2009 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 More sharing options...
TropischBruin Posted October 28, 2009 Share Posted October 28, 2009 It is missing one or some files.Check your permissions. Link to comment Share on other sites More sharing options...
antlers Posted October 28, 2009 Author Share Posted October 28, 2009 How can it be missing files if the installation was successful? Which files is it missing?!Which permissions should I look at specifically? Link to comment Share on other sites More sharing options...
rocky Posted October 29, 2009 Share Posted October 29, 2009 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 More sharing options...
antlers Posted October 29, 2009 Author Share Posted October 29, 2009 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 More sharing options...
rocky Posted October 29, 2009 Share Posted October 29, 2009 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 More sharing options...
antlers Posted October 29, 2009 Author Share Posted October 29, 2009 Rocky you were right there were some files missing on the server!! Very strange. Both FO and BO work now but I can't upload a new logo!Is this related to the permissions? Link to comment Share on other sites More sharing options...
rocky Posted October 29, 2009 Share Posted October 29, 2009 Yes, the img directory needs 777 permissions to write the logo. 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