cancel
Showing results for 
Search instead for 
Did you mean: 

Can't remove product images after moving site.

Can't remove product images after moving site.

Hi there

 

I have just moved a site from one hosting company to another, normally I don't have any problems with that, but there where a couple of problems along the way.

 

1. We could login, but finally we found the error in the cache sessions.

2. Then we could not upload product images, I made the media folder 777.

3. Now we can't delete any product images.

 

If I click in on any product, tick the box remove and click the save button nothing happens, it just reloads the page and the image is still there. No Error message or anything!

 

Can some please help?

3 REPLIES 3

Re: Can't remove product images after moving site.

Hello,

I may recommend you to change permissions for 'media' folder recursive. The easiest  way (but not perfect) to do this is use this command:

 

chmod -R 0777 media

Also I think that your cache issue is linked with permissions as well so you should correct permissions for the 'var' directory and subdirectories/files.

The more security way is configure your files permissions by this guide:

http://devdocs.magento.com/guides/m1x/install/installer-privileges_after.html

Please note it is required to change files and folder ownership.

Thank you.

Re: Can't remove product images after moving site.

Hi there

 

Thanks for the replay - I have made the permission on the media folder 0777.

 

Should I do the same with the WHOLE 'var' folder and subfolders?

Re: Can't remove product images after moving site.

@JyskITPartner

 

It migh be because of the change in the setting from the default scope was overwritten on store view level.
I would suggest you to check the product configuration on the lower configuration scopes (website, store view) to see if you are be able to delete/save the product or not. Do let me know if it's work or not.

-- Ravindra