When I load a new image to product or page I get a broken image symbol on backend and frontend. Previous loaded images in the storage root are able to load fine. New images add to storage root look fine in storage root file but when uploaded the same broken image symbol. Same happening on all 3 magento sites. Loaded images are going in the media folder and look fine same as all previous loaded images that are working fine on sites.
2 Answers
Resulted from upgrade to 1.9.2.3 with security patch. To fix this issue I had to revert change the permissions to more realistic values, 775 for folders and 644 for files. These can be changed here;
lib/Varien/File/Uploader.php
line 219, change 0640 to 0644 line 541, change 0750 to 0755
-
Check this: magento.stackexchange.com/questions/105505/… Commented May 26, 2016 at 23:53
-
Resulted from upgrade to 1.9.2.3 with security patch. To fix this issue I had to revert change the permissions to more realistic values, 775 for folders and 644 for files. These can be changed here;
lib/Varien/File/Uploader.php
Didn't work tested in on my website