Solution for Upload HTTP Error in Magento

Posted on 2 February, 2017

We have written this short technical note for those who are using PHP 7 Version and having an issues while uploading product images and getting an error like “Upload HTTP Error”.

So. Don't worry about “Upload HTTP Error” in Magento 1.X version. We have a solution for that kind of error.

To solve this error you just need to follow some simple step which are listed below.

You just need to make changes in Uploader.php file which is located in /lib/Varien/File/Uploader.php. So, for that go to the magento root directory and open Uploader.php file from /lib/Varien/File/Uploader.php. and find the following code.

$params['object']->$params['method']($this->_file['tmp_name']);

And replace with

$params['object']->{$params['method']}($this->_file['tmp_name']);

BINGO!

I hope this short Magento technical note helped you to solve "Upload HTTP Error" error on Magento 1.X Version, And don't forget to bookmark it for your future reference. If you have any problem or ideas don’t hesitate to leave comment below.

P.S. Do share this note with your team.


Mayank Zalavadia , eCommerce Project Manager

Magento Technical Notes

About Emipro

Being an emerging leader in IT market since 2011, Emipro Technologies Pvt. Ltd. has been providing a wide range of business solutions in Odoo & Magento. We are pleased to have a large pool of contented customers with our meticulous work in the domain of ERP & e-Commerce. Our customers are companies of all sizes ranging from startups to large enterprises who realize that they need a professional internet solution to generate revenue streams, establish proper communication channels, to achieve desired goals and streamline business operations. [....] Read More

Our writings seems informative ?

Subscribe for our Magento Technical Notes and get more amazing stuff directly to your inbox!

Post Your Review

X

Your Review has been posted

0 Comment(s)