When I want to upload product image I get an error:
upload HTTP error
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityWhen I want to upload product image I get an error:
upload HTTP error
If you are using PHP 7 then go to
lib/Varien/File/Uploader.php
Find the following code
$params['object']->$params['method']($this->_file['tmp_name']);
And replace it with
$params['object']->{$params['method']}($this->_file['tmp_name']);
I found the solution. On server there wasn't activated gd php extension. I activated it and upload is now working. I hope someone would find this usefull.