Problem in uploading catalog images after upgrade to Magento 1.9.2.3 [duplicate]
-
10-12-2020 - |
Solution
This is less than a full answer but i looked thru the link Fabian put in comments and found an answer that I tried and it worked. Liam's answer link with comments
Here's a problem I've found when patching Magento CE with SUPEE-7405. It replaces the line:
chmod($destinationFile, 0777);
with:
chmod($destinationFile, 0640);
in the file lib/Varien/File/Uploader.php
This stopped my images displaying in the back end, since this file permission should actually be 644. Is there any reason this has been set to 640?
When I changed the line 219 to 0777 from 0640 it worked. Until I have a better understanding I'll use this.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange