Problem during overwrite the existing image

See all posts See thread Reply

Re: Problem during overwrite the existing image new!
by Martin, 17 years, 11 months ago
I am not too sure here but i may have found a solution to your problem. I have been experiencing the same problem when i moved a domain over to another server for testing. I could add new images but not overwrite existing ones. This was with the same script used on the other domain.

After much testing the only way i could make it work was to chmod the images folder for the uploaded folder to 777 like before but also all the original files in it also. The with full permissions the overwrite feature works. Once the script has uploaded the image or overwritten it the permissions are set to 644 like before. I dont know what security risks are at threat if there are any but i will keep a note if this happens again.

In theory if all products were eventually updated on the server the file permission will eventually go back to 644.

I dont know if this has anything to do with what was mentioned about about the web server permissions but if this helps then great.Reply