October 18, 2016

SUPEE-8788 Missing Upload Button Fix

UPDATE: 10/19/16. It also breaks your attribute editing in some instances:

To fix the product image upload button not loaded in Magento CE, I had to add ' character in maxUploadFileSizeInBytes value.
var maxUploadFileSizeInBytes = <!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->;
var maxUploadFileSizeInBytes = '<!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->';

After having applied the latest SUPEE-8788 patch to an Magento EE system, we noticed right away that the “upload” button was missing on the products WYSIWYG view.

Magento Support could find nothing wrong and at the time, no-one had an idea to fix it.

Inspecting the Javascript we saw we were getting the error: “uploader is not defined”.

The fix turned out to be extremely easy. Simply, flush every cache/combined JS files, re-index all (from CLI), log out of magento, and clear your browser cache. The upload button came back after doing that. We don’t think the browser cache is necessary, but since it was part of our routine that restored the button, we aren’t messing with the script.

Need Any Help? Contact Us!