Monthly Archives - Jan 2016

Magento can’t upload images after CE / SUPEE-7405 update

After the recent Magento update which included patch SUPEE-7405 it appears many people have an issue uploading images through the Magento backend. As part of the SUPEE-7405 patch Magento has increased security around the upload and checking of images to prevent malicous content. Cause The permissions for folders/files created when uploaded are too restritive, they where 777 and now after the recent update are 750 for folders and 640 for files. Solution To fix this issue I had to revert change the permissions to more [...]


Magento backend order view broken (PHP syntax error after SUPEE-7405 : unexpected [ )

Recently I came across an issue after upgrading a client site to Magento CE which includes the recent SUPEE-7405 security patch. When trying to view the details of an individual order you would get a white page body with no details or data shown. Upon inspecting the source the following error was shown; <code> PHP Parse error: syntax error, unexpected '[' in app/code/core/Mage/Adminhtml/Helper/Sales.php on line 124 </code> Problem SUPEE-7405 was coded with PHP 5.4 in mind, older PHP versions are incompatible with the new language [...]