Drupal version: 6.5
CCK version: 6.x-2.0-rc10
imagefield version: 6.x-3.0-alpha2
permissions: correct
download method: public
imagefield configuration: nothing unusual, 300x300-2000x2000 restrictions

Expected results: image uploads correctly

Unexpected actual results: image upload fails in Mac/Firefox (testing with 3.0.3) only. uploads correctly in all other browsers tested - Mac/Safari, WindowsXP/Firefox, WindowsXP/Chrome, WindowsXP/IE7.

JavaScript alert:

An HTTP error 0 occured.
/filefield/ahah/advertiser/field_logo/0

Firebug log:

uncaught exception: [Exception... "Component returned failure code: 0x805e000a [nsIDOMHTMLFormElement.submit]" nsresult: "0x805e000a (<unknown>)" location: "JS frame :: http://************/misc/jquery.form.js?W :: anonymous :: line 13" data: no]

Comments

ceejayoz’s picture

May be an underlying filefield issue, but the error messages thrown don't give me enough to go on to determine that.

Issue exists in Firefox/Mac 3.1 beta 1 as well.

stellarvisions’s picture

Fails for us in:

Firefox
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3

Safari
Version 3.1.2 (5525.20.1)

Flock
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.17) Gecko/20080914 Firefox/2.0.0.17 Flock/1.2.6

We select an image to upload. We get a message that it has sized and uploaded the image and indeed the image is present on the server. The image displays in the browser when you point it at the direct image url.

We're going to try windoze next.

stellarvisions’s picture

We are getting failure in Windows Explorer 6 -- on Windows XP -- as well as all the Mac browsers listed above.

After clicking the upload button no thumbnail appears, no filename, no field to enter custom Title (as configured) -- it's as if we did not upload. Submitting the node does not improve matters.

Here is more info:

Actually the image uploads, but the information is not written to the database I am guessing since I get the error message "artwork field required" (the imagefield is required in my content type).

This is a fresh install of the most recent everything as of October 17 in terms of the Drupal install. Imagefield was working under 6.4. I did import data and update schema of a version of my 6.4 database that had no image data in it yet. When the imagefield would not work I tried deleting the field and adding a fresh new CCK field of the image type, but it still does not work.

So, then I made a brand new content type with a field just for testing and no luck. I get helpful messages like: image resized to 1200x1200, but nothing appears in node.

Drupal 6.5
CCK 6.x-2.0-rc10
filefield-6.x-3.0 alpha5
imagefield 6.x 3.0 alpha2
imageapi 6.x 1.0

stellarvisions’s picture

note that the display setting is set correctly in the "display fields" to be "image" or "image linked to file"

(I saw another post that I was hoping would solve our problem http://drupal.org/node/320382 but I had that setting correct).

note that I am testing with safe filenames like blue.jpg

stellarvisions’s picture

INSIGHT -
The problems we describe in comments #2 - #4 were using a legacy database (one without actual images, and one that originated in 6.4, but none-the-less).

I just did a test with the same Drupal install but with a fresh DB and imagefield works fine !

themes and modules were all these parallel -- seems to be the data structure.

ceejayoz’s picture

@#5 - My install is a fresh install of Drupal and the modules.

webchick’s picture

I'm getting the same behaviour as stellarvisions in #3, but it resolved itself when I switched from Private to Public downloads.

Are other people having this issue using Private file downloads?

ceejayoz’s picture

Status: Active » Fixed

This appears to be fixed with Drupal 6.6.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Sharon-2’s picture

Status: Closed (fixed) » Needs review

edit: seems like there is more active thread so moving my comment there: http://drupal.org/node/434394

quicksketch’s picture

Status: Needs review » Closed (fixed)