jpryce Posted April 26, 2012 Share Posted April 26, 2012 All I can see that this topic has been around quite a bit but seems with no satisfactory resolution. I have set all the /img folders to 777 permissions but i'm still getting the error when copying image message on trying to upload the csv file with my urls in it. Does anyone have any clues or a link to a recent solution? Thanks James Link to comment Share on other sites More sharing options...
phrasespot Posted April 26, 2012 Share Posted April 26, 2012 There is no correct way that applies all setups. There are a number of factors that determine the end result. For example PHP can be configured to be handled by DSO, CGI, FastCGI or suPHP. with or without Apache suExec in use. In each of those cases the user account which the Apache web server executing PHP scripts as will differ and the associated file/directory permission therefore must be appropriately set. There is a little more into it if you are e.g. FTPing to yur site as the domain account user and the suPHP/seExec is used. Regardless, setting file and directory permissions to be 777 is the worst thing you can do for your installation, especially if you house your shop on a shared server which will allow any other site owner on the same server to write to your files. First determine the Apapche PHP handler, then determine if suExec is used. This will tell you as whom the Apache is running. Then you will need to make your files/directories readable by only that user. And only _some_ of your directories will need to be writable by that user as listed during PrestraShop install. However, as I mentioned in first the paragraph, if e.g. Apache is executing PHP scripts as user 'nobody' and you are e.g. FTPing to your server as user 'domowner' then you will also need to take into account the group for the files/directories and the group permissions. 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