Well I solved my problem by working closely with my hosting company Linksky. It was a server issue.
What was extremely frustrating was that on my own server there was no problem, but on a fresh server at Linksky I had the problem.
The support guy at Linksky got rid of the http error via a mod security setting, but I still had a problem in that the upload would not work. It said completed but never completed. The support guy persevered and after about 2 days said that
“As it turned out I belive we needed to implement a number of suhosin adjustments with this sever which does indeed help some of the more advanced applications to access more memory.”
I believe suhosin is used to add protection to PHP.
I am extremely lucky that I used Linksky, although they had not hosted a Magento app before, they added PDO and solved this obscure problem.
These days getting someone knowledgeable to work with you is really rare.
So, from what I can see, permissions can cause the problem as well as particular browsers and apache settings. We can now add suhosin to the list.
Beats me why they had to use a compiled flash thing. Sure caused and is causing lots of us big problems. Catalog images uploaded fine.
I had flash 10 and had to downgrade to 9.
Now I have http errors like all of you.
No special security in apache and I am working on mac. The issue is for my customers. If I had to tell them to work on IE and PC. Hum…
I was able to resolve this using the htaccess / mod_security found on the first page of this thread.
My situation was just slightly different, so I’ll describe it here in case it helps someone else.
I am not running Magento directly from the webroot, but instead from a subfolder (ex: www.domain.com/store). I have a htaccess at the webroot which allows Magento to appear as though it were running right out of the webroot (so www.domain.com returns the same thing as though the user had typed in www.domain.com/store).
Now, for how this relates to the upload issue: I had to add
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
to my htaccess at the webroot, even though Magento is only present in the /store/ folder. Not sure if this is the ideal fix, but uploading is working once more now that this is in place.
I’m still having this problem. I am VERY new to all of this. I edited my htaccess file adding the 2 lines that you guys said to add (which were oddly enough, already there in a different spot) and that didnt do the trick. I tried deleting the htaccess file and that didnt work. So I’m not really sure if I’m following…
Can someone explain to me the proper way to fix this? I tried both safari and firefox (I’m on a mac) and it gets the error both times.
Just to follow up, I called my hosting company and they were able to successfully add an image. I tried on IE7 w/ vista and FF with a mac and neither worked, but they got it to work and cant recommend anything… any ideas?
I had the same problem on PC, MAC, with IE, FF… I solved the problem by cleaning cache before uploading images. I overloaded the Gallery controller (Mage/Adminhtml/controllers/Catalog/Product/GalleryController.php) and the upload action :
public function uploadAction() { Mage::app()->cleanCache(); parent::uploadAction(); }
Having the same problem.
Uploading with Firefox gives me the Upload HTTP Error, but with Inter Explorer it works just fine.
So It’s not the permissions. But, I chmod the folder 755 then 777 and it doesnt work.
in my .htaccess already set
<IfModule mod_security.c>
###########################################
# disable POST processing to not break multiple image upload
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
I try with latest magento 1.2.0.3.
If I try in Firefox, I got Upload HTTP Error, but it is working fine in IE6.
In demo setup i can upload the product image through Firefox 3.0.5 itself.
I have the same problem.
Uploading with Firefox gives me the Upload HTTP Error, but with Inter Explorer it works just fine.
no solution with permissions
any new idea
Anyone figure this out. I am having the same problem. I have tried all of the above suggestions with no success. Thanks to the one who figures this one out.
OK. I figured it out. Go into the mod_security configurations and comment this line #SecRule HTTP_User-Agent “^Shockwave Flash”
It should work after that.