JS upload broken in Opera 10
hunmonk - October 23, 2009 - 14:39
| Project: | FileField |
| Version: | 6.x-3.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
when trying to upload a picture to field_news_photo, which is a field on this content type: http://localhost/thewmag.org/node/add/news, i receive this error:
An HTTP error 0 occurred.
/thewmag.org/filefield/ahah/news/field_news_photo/0when i dismiss the error, it redirects me to this page: http://localhost/thewmag.org/filefield/ahah/news/field_news_photo/0, with what looks like the json output that was supposed to go into the page. debugging from the drupal side it looks like the callbacks are working ok, and returning the right data -- the error appears to be in the js. i'd dig in with firebug, but i don't have it installed on opera.
i've tested this exact same procedure on both safaria and FF, and there's no error, so it looks to be specific to opera.

#1
Same problem.
#2
I can confirm this also. The AJAX replacement actually works fine if the field is left empty, which makes me think that the upload is failing due to processing on the PHP side. Unfortunately I can't figure out how to make Opera show me more than the response headers from AJAX requests, which makes it a bit hard to see what's happening on the server side.
#3
Hmm, or not. I can't get Opera to upload anything regardless of the server-side PHP. In fact, I can't even get Opera to upload using the demo of the jquery.form.js file: http://jquery.malsup.com/form/#file-upload
Apparently Opera 10 pretty much broke all uploading, though over in the IMCE queue, they report upgrading the jquery.form.js file fixes it for them: #571456: File upload not working in Opera 10. However upgrading it does not correct FileField.
#4
#5
Here too. Filefield upload hangs in opera10, while in firefox the upload works fine.
#6
With opera i had problems. With firefox i haven't got problems, 4 of my friends neither, but about 5 people get the ajax- error, so it' about 50:50
It seems to be somehow random or based on a setting (client- side i would guess) it shouldn't depend on.
#7
Is there any simple solution for this? As would be for example turning off ajax or something?
#8
Solution given in http://drupal.org/node/603826 helped me.