Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
a fresh drupal6.10 install with modules cck, views, filefield and imagefield enabled. when creating a node, the imagefield works fine when first upload an image, but if deleted the uploaded image, and trying to upload another image, it failed with no message, just show the file upload input.
Comment | File | Size | Author |
---|---|---|---|
#12 | filefield_devel_themer_warning.patch | 1.24 KB | quicksketch |
#9 | ImageField-form.PNG | 27.49 KB | motto |
Comments
Comment #1
quicksketchI can't reproduce this problem. There's nothing else special about your installation? What's the size of the image you're uploading? Are you uploading the same image both times? These questions might help me determine the problem.
Comment #2
quicksketchClosing after lack of response or ability to reproduce.
Comment #3
motto CreditAttribution: motto commentedHi quicksketch,
I'm experiencing the same problem with a Drupal site that I currently develop.
After deleting 6 attached images from a node, I can't re-attach these 6 or any other images to the same node. (images have different dimensions from about 200x200 to ~1200x1200, JPEG format)
I also tried to attach PNGs to the same node without success.
Next, I tried to create a new node of the same content type and attach images, which failed. (Even though it worked yesterday)
>> I just found out that the upload works when I turn JavaScript off. Maybe that helps a bit. Too bad I can't see any AHAH messages to give further hints.
I'm running a WAMP installation, Drupal 6.12, ImageField 6.x-3.0 and FileField 6.x-3.0, FF 3.0
Thanks for your help on this,
Matt
Comment #4
motto CreditAttribution: motto commentedComment #5
quicksketchmotto, so from this statement you're saying that uploads don't work at all? Can you upload any files on your site (such as through upload.module)?
Comment #6
itzsudip CreditAttribution: itzsudip commentedhey .....i think i have similar problem...
once i delete my profile pic and upload some other pic them i got the previous pic again n again(the 1st pic which i have uploaded to my profile)...plz help ....
Comment #7
motto CreditAttribution: motto commentedHi quicksketch, thanks for your prompt reply.
File attachments work just fine, so does uploading via "Image" module with disabled JavaScript. From the moment I turn JavaScript on, the Image module won't accept any files any more. (After hitting the "Upload" button, the form fades in and out and looks just as if I had never selected a file)
Let me know what info I have to provide in order to help you.
Thanks a bunch,
Matt
Comment #8
quicksketchitzsudip, profile pictures are not provided by ImageField, so that problem is outside the scope of what's being fixed here.
motto, I still wasn't quite clear on your response:
So everything works without JavaScript, but nothing (Image, Upload, ImageField) works when JavaScript is enabled? Sounds like another module is breaking the returned JSON responses. Devel module used to be culprit to this when query logging was enabled, but that's been fixed afaik. However I think the "Theme developer tool" will still break just about ever JavaScript behavior in existence, so if you have that enabled, turn it off unless you're actively using it.
Comment #9
motto CreditAttribution: motto commentedOnly "ImageField" was affected my turning JavaScript on and off.
Yes, you were right that I was using Theme Developer, and also that it caused the JSON to blow up. I turned it off and now your module works like a charm again!
Do you need more info do determine under what conditions the Theme Developer interferes with ImageField?
Thanks for you help,
Matt
One more thing: I attached an image to show you how the ImageField form looks on my installation. Is it supposed to look like on the screenshot or am I missing information about the uploaded image (i.e. name, size)? Someone mentioned to me that ImageField would show that info...
Comment #10
quicksketchNo more information is needed. Just turning on Theme Developer will blow up 1/2 the JavaScript in Drupal (hence why you should leave it off unless you're actively using, there's a handy link in the devel block to help with that). But perhaps a big red error might be appropriate when FileField tries to display and Theme Developer is enabled.
Comment #11
houen CreditAttribution: houen commented+1 on the big red error - it just took me +3 hours of tinkering with all the different causes and solutions to this error... also and introspective look at the filesystem paths might help a lot of users...
Comment #12
quicksketchBig red error it is. Applied the following patch which should give the user a warning if Theme Developer Tool is actively enabled.