Jump to content

Product Image Upload gives error: An error occurred while copying image.


Recommended Posts

Hi, we are getting ready to put our system into production and just started having this problem.   When I go to Products / Images / then add a new image, I get the error "An error occurred while copying image".  

 

in the Config information I get error below, even though I have set the permissions to 755 using both the cpanel account ID then when that didn't work I used the root id.  (# chmod 755 -R img).

 

 

 CHECK YOUR CONFIGURATION

Required parameters: Please fix the following error(s)

  • Set write permissions for the "img" folder and subfolders.

Optional parameters: OK

 

Any help appreciated.

Link to comment
Share on other sites

Fixed.  

 

I logged in as su, went to the img directory, entered the command:  

 

chown -R <username> p

 

and this fixed my problem.  The "p" is because product images are stored in that directory.  I had found one file that had root as owner and assume that there was a directory in there that had user or group set to root, but did not want to go through each directory as we have a lot of product images.  

 

Hopefully this helps someone in the future.  BTW, I had previously made sure that directory rights were set to 755 by running the chmod -R p

 

 

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