cancel
Showing results for 
Search instead for 
Did you mean: 

Browse and Upload Image buttons no longer work Magento EE 1.14.2.1

Browse and Upload Image buttons no longer work Magento EE 1.14.2.1

I have installed Security Patch on Magento EE version  1.14.2.1. But I have noticed that the browse image and upload image no longer work. Can anyone recommend a way that I can get this working again please?

1 REPLY 1

Re: Browse and Upload Image buttons no longer work Magento EE 1.14.2.1

What security patch have you applied? Open console in web browser to see if there is any javascript error which can tell us more about the issue.

 

In meantime, try following fixes:

1. Edit app/design/adminhtml/default/default/template/media/uploader.phtml

2. Find line: 

var maxUploadFileSizeInBytes = <?php echo $this->getDataMaxSizeInBytes() ?>;

3. Add single quotes, so it looks like this:

var maxUploadFileSizeInBytes = '<?php echo $this->getDataMaxSizeInBytes() ?>';

 

If still doesn't work, try to modify variables maxUploadFileSizeInBytes and maxUploadFileSize:

var maxUploadFileSizeInBytes = '128M';
var maxUploadFileSize = '128M';

If that works, it means that there is some problem with php.ini or you're using HHVM.

 

If this response was helpful to you, consider giving kudos to this post.

If this response solved your problem, click accept as solution to help others solve this

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue