0

When I want to upload product image I get an error:

upload HTTP error

1

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']);
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.