Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been getting an http 0 error when uploding my files with filefield and filefiled image for 2 days.
I tried to uninstall all my modules and to find I've changed before the bug: I activated the time report of devel module...
It may be usefull to know this bug
Comment | File | Size | Author |
---|---|---|---|
#8 | upload-element-javascript-headers.patch | 594 bytes | mrfelton |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedComment #2
Ocyrhoé CreditAttribution: Ocyrhoé commentedWhy moving the issue? As said here http://drupal.org/user/56020, other modules may not include Devel specific code...
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedAs i stated there, modules are advertising their code as text/html when in fact they are serving text/javascript
Comment #4
jpetso CreditAttribution: jpetso commentedAnd we can't advertise it as text/javascript because that breaks upload JS callbacks for whatever reason. Perhaps we should just get a warning message into hook_requirements() of either Devel or filefield.
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedIf you'd rather implement hook_requirements than put in the $GLOBALS['devel_shutdown'] = TRUE, then please do so. One of these lets admins do their work and the other doesn't. Seems that this slight code blemish better than the alternatives ... Or submit a patch for devel which is even more work for you.
Comment #6
jpetso CreditAttribution: jpetso commentedYeah, you know, I already had the devel_shutdown thing in filefield and dopry removed it again. If it was just for me, I wouldn't have a problem with it.
Comment #7
dopry CreditAttribution: dopry commentedyeppers I put tha back in for 2.x and we might even see it in the 3.x's.
Comment #8
mrfelton CreditAttribution: mrfelton commentedEdit: edited wrong post by mistake
Comment #9
gianfrasoft CreditAttribution: gianfrasoft commentedI solved in a strange way but I did!
Please, take a look at this:
http://drupal.org/node/491610#comment-4260902