SUPEE-8788 Missing Upload Button Fix

UPDATE: 10/19/16. It also breaks your attribute editing in some instances:
http://magento.stackexchange.com/questions/53352/magento-1-9-no-upload-image-buttons
app/design/adminhtml/default/default/template/media/uploader.phtml

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

Posted in Magento, Tech Tips Tagged with: , , , ,

Customer Love

Jeremy Silva is one of the few expert web developers I've worked with that has provided me with elite results every time. Jeremy is dependable, resourceful, and consistent. He is also more personable than most web developers I have come in contact with. I would feel comfortable hiring him for any future projects.

- Orin Belinsky