Magento does not create cache images for some stores

I use Magento 1.5 with 3 different stores (the same products, although they target different audiences, etc.). For one of the stores (a second store has been added) small_masks, thumbnails, etc. are generated in the cache directory. For the rest, images are not generated (although the directory structure, so the permissions are set correctly). Does anyone know if this is the wrong installation in the other two stores?

+3
source share
5 answers

The problem is that every time you clear your cache or add a new image, Magento wants to create / add directories as the "apache" user, which prevents him from writing generated images when the page loads.

If you run this from the root of your installation every time you visit different pages in Magento (shopping cart, product details page, main page), you should be fine. Other than that, I'm still looking for a fix:

chown -R correctuser:correctgroup media/*

That should do it.

+3
source

Set the php memory limit to about 256 MB ... this is because there is not enough memory on the server to properly manage rebuilding the entire cache (flash)

+2
source

, ssh . , .

chmod -R 777 media
+2

, , "cache" ... /media/catalog/product/

, , . , magento , . , -.

+1

media/catalog/product . , chmod 775 (755 , , , , ). 755 , , apache .

0

All Articles