Closed (duplicate)
Project:
ImageField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2009 at 10:18 UTC
Updated:
3 Jul 2009 at 07:20 UTC
The imagefield is set to unlimited images. The first image upload went fine. Whenever I click the "add another item" button the entire field including the image I uploaded before just disappears. I'm using latest imagefield and filefield dev.
Comments
Comment #1
quicksketchIt sounds like your server configuration is not properly set up. This is the exact same symptom as #356009: Large Uploads Cause Form to Disappear.
Comment #2
PeteS commentedI am having this issue right now as well, and am uploading a very small image. I upgraded to 6.x-3.x and instead of the html disappearing, I now get the "An unrecoverable error occurred. This form was missing from the server cache. Try reloading the page and submitting again" message inside of the filefield module.
When I turn Javascript off, I am able to upload and delete images fine in both versions. I have no clue where to begin looking for where imagefield/filefield are messing up.
Needless to say, it's kind of frustrating that either module can enter such a mysterious failure state without providing any Javascript/watchdog/PHP error information.
Comment #3
davidwhthomas commentedI had the same
"An unrecoverable error occurred. This form was missing from the server cache. Try reloading the page and submitting again"
error.
I found it was caused by the APC php opcode cache. Disabling APC in settings.php fixed the issue until I find a proper fix.
DT
Comment #4
adam1 commentedhello davidwhthomas,
could you describe, how to disable apc in settings.php?
im a rookie and i could not find any line in settings.php containing "apc" - if you could post the whole line, i would be happy!
thanks, adam
Comment #5
wayfarer_boy commentedI was also having the same problem, and although I added the following line to my settings.php:
ini_set('apc.enabled', 0);...I didn't see a change in the problem. I then added:
apc.enabled = 0...to my php.ini, restarted apache, and once again no change. I then enabled apc in my settings.php, forgetting that I had it disabled in php.ini, emptied my browser's cache and restarted, and I was able to remove images from the node. So, rather unhelpfully, I have no solution to hand, but there's obviously a solution in there somewhere.
Comment #6
raystin commentedI had the same problem!!! I can't fix it, here is my issue =>http://drupal.org/node/486880
Comment #7
raystin commentedI had the same problem!!! I can't fix it, here is my issue =>http://drupal.org/node/486880
Comment #8
desunit commentedSee this:
http://drupal.org/node/500646#comment-1771228