Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2009 at 11:27 UTC
Updated:
11 Jul 2009 at 02:30 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| before removing uploaded image | 53.14 KB | adrianmak | |
| removing uploaded image caused error | 63 KB | adrianmak |
Comments
Comment #1
adrianmak commentedI 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.
Comment #2
gordon commentedI am having a problem when there is only 1 image I can't remove it at all?
Ideas?
Comment #3
adrianmak commentednobody following up this issue ?
Comment #4
pspdrupal commentedI 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?
Comment #5
3rnst commentedSame 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.
Comment #6
quicksketchI 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.
Comment #7
adrianmak commentedproblem 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.
Comment #8
riflecn commentedVery 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.
Comment #9
fenstratSame 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.
Comment #10
epop commentedI 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.
Comment #11
quicksketchMoving to Ubercart, since this problem does not exist in any other content types.
Comment #12
fenstratMarked #435312: Getting error message when deleting images as a duplicate.
Comment #13
fenstratIssue is already solved at #404234: Ajax bug on upload/delete Ubercart images