Unable to remove product images in IE or Opera
adrianmak - April 29, 2009 - 11:27
| Project: | Ubercart |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I'm running an ubercart 2.1 and there is an imagefield on product content type
imagefield is version 3.0
i found that when I tried to remove an uploaded image under IE6,7 it will show me an error message
"An unrecoverable error occured. The uploaded file likely exceeded the maximum file size( 20MB) that this server supports"
This will not happen under firefox 3.x and even though the very beta version of google Chrome web browser
My server php upload file size and http post size and imagefield settings are configured for 20MB file upload
and the uploaded image is just a few tens KB actually.
| Attachment | Size |
|---|---|
| removing uploaded image caused error | 63 KB |
| before removing uploaded image | 53.14 KB |

#1
I just found a old issue http://drupal.org/node/435312 related to delete image problem
But I ensure that mine is not server setting problem. Mine problem only occur on IE6, and IE7.
my php setting is
post max size 25M
upload max size 20M
memory_limit 128MB
and actually, the uploaded image are jsut few tens KB in size.
#2
I am having a problem when there is only 1 image I can't remove it at all?
Ideas?
#3
nobody following up this issue ?
#4
I am experiencing the same issue. I get the error message when I try to remove an image on Internet Explorer but it works fine in Firefox. Anyone have any ideas?
#5
Same error occurs when using Opera 9.64. My server is setup to accept uploads of 20Mb; the error however only occurs when trying to remove a said image. When using Firefox, the error does not show.
A follow-up on how to solve this issue would be appreciated.
#6
I can't reproduce this on my local installation when using any of the affected browsers (Opera, IE6/7), though I'm curious why it would affect some browsers but not others. Does this happen consistently or is it a "sometimes it happens" problem? Exact steps to reproduce would be appreciated.
#7
problem happend consistently。。。。。。。。。。
update:
I found that the problem may occur only on ubercart product content type with imagefield.
I created a new content type with a imagefield, no error on removing image under IE browsers.
#8
Very same question happens here with me.
Error only with ubercart product content type under IE.
I tried google's Chrome,no error on removing images.
#9
Same sittuation here.
Only happens on ubercart product types and only on Windows IE (6, 7 and 8) and Opera.
Firefox, Safari and Chrome all work fine.
Only happens when js is enabled, disable js and the remove works fine.
Source of the error is in filefield.module in the AHAH menu callback
function filefield_js. Oddly enough in IE and Opera $_POST only contains the click Remove button (e.g."field_image_cache_2_filefield_remove" => "Remove") whereas in other browsers is the fully populated form post data which includes form_build_id. So this is why the error is occuring, in IE and Opera $_POST data is not fully populated., i.e.empty($_POST['form_build_id']) === TRUE).No time at the moment to trace this further, but will report back when I can.
#10
I can confirm this is happening with my fresh install of ubercart, imagefield and imagecache. Images remove ok in firefox but errors in ie 6,7,8. Would be great if there was a fix. IE is still the most used browser amoung business users.
#11
Moving to Ubercart, since this problem does not exist in any other content types.
#12
Marked #435312: Getting error message when deleting images as a duplicate.
#13
Issue is already solved at #404234: Ajax bug on upload/delete Ubercart images