I have such error when i try to upload mp3 file
d6.8, all modules are up to date.

Comments

jdelaune’s picture

Hmm try the file found here #356253: MP3 Player stopped showing the Player and follow my instructions. If that doesn't work I'll look into it a bit more.

Cheers

Oleksa-1’s picture

Yes, tried all these steps but same result. I think problem is with filefield, because i have same error during uploading image http://drupal.org/node/297035

jdelaune’s picture

Assigned: Unassigned » jdelaune
Status: Active » Closed (fixed)

Hmm which browser are you using? Most likely is a FileField issue since MP3 Player is only a formatter and doesn't deal with the uploading of files at all. Either log you issue in the case above or start a new one on in FileFields issue queue.

Cheers

kenorb’s picture

Assigned: jdelaune » Unassigned
Status: Closed (fixed) » Closed (duplicate)
module.developer’s picture

Project: MP3 Player » FileField
Version: 6.x-1.x-dev » 6.x-3.0
Component: User interface » Code
Status: Closed (duplicate) » Active

Hi,

The filefield module version just released is not working . I am getting http0 error.

Is there any particular settings for this ?

kenorb’s picture

module.developer:
No, it's always like that for some unknown reason.
#370987: HTTP error 0 in alpha7
#432038: FCKEditor Causes "HTTP error 0" Preventing Upload
#297035: HTTP error 0
#329913: still HTTP error 0
You can go back to alpha2, then it will work.

quicksketch’s picture

Status: Active » Closed (duplicate)

If you have FCKeditor, the bug is in that module. It breaks all uploads in all of Drupal. See #248146: File upload throws error on attach only when FCKeditor is on page.

graper’s picture

I got this error but it wasn't because of the FCK Editor. I made a post about it on #297035: HTTP error 0 . For me it was the adBlock Plus add on that I had installed for FireFox 3

mdeltito’s picture

I am experiencing this issue, but only in Safari 4 on Leopard.

EDIT: Just confirmed this issue to be related to Adblock... I run Adblock in Safari, but not FireFox. Turning off Adblock in Safari worked for me.

amedee-1’s picture

I can confirm that it is probably a client/browser issue, but I'm not convinced about the link with Adblock.

website with images as filefield: http://www.foutparkeerders.be

Tested on WinXP:
IE8: no problem
PortableFF3.0.13 with Adblock: HTTP error 0
PortableFF3.0.13 without Adblock: also HTTP error 0

Tested on Crunchbang 9.04.01 (= Ubuntu 9.04 with OpenBox)
FF 3.0.14 with Adblock: no problem

I will try to do more tests with other platforms/browsers.

sharifudinrizal’s picture

I've been having the same problem on FF 3.5.3. The uploading works on Safari 4.0.3. This seems to suggest the problem lies with the browser, not necessarily with the filefield module.

Andric Villanueva’s picture

It looks to be a browser issue.

I'm on a mac and it works in Safari and firefox but not in Opera.

NonProfit’s picture

I'm getting getting it too.

FF 3.5.7 and Safari 4.0.4 on OSX 10.5.8.
drupal-6.15
zen-6.x-2.0-beta1

admin_menu-6.x-1.5
cck-6.x-2.6.tar
filefield-6.x-3.2
imageapi-6.x-1.6
imagefield-6.x-3.2
imagecache-6.x-2.0-beta10

I can upload a very tiny image (12K) without a problem. However even small images (3.5MB) provide the HTTP error 0 when the Upload button is clicked or a WSOD when Save is hit.

Any input appreciated.

Thanks!

-NP

NonProfit’s picture

Note: This may be an issue with PHP memory.

I added:

ini_set('memory_limit', '128M' );

to settings.php and the issue seems to have resolved itself.

Note: Obviously, 128M may or may not be the appropriate setting for you, and unfortunately even if it is, this doesn't work on all serves. Here is more info and a couple other techniques on how to increase your PHP's memory.

Blessings!

-NP

sunchaser’s picture

Man alive ... this might have been the longest I've looked for a problem.

I did EVERYTHING suggested , nothing helped, untill I went hardcore on the module :)
This solution was partly inspired by a solution that suggested to downgrade to filefield module alpha 2 release, cause there , the problem didn't occur.

I wanted to know what made the difference between the two releases and stumbled upon filefield_widget.inc
in that file, around line 271 there was something remarkeable going on.

The lines that provided the ahah wrapper where commented out !

/*    '#ahah' => array( // with JavaScript
       'path' => 'filefield/ahah/'.   $element['#type_name'] .'/'. $element['#field_name'] .'/'. $element['#delta'],
       'wrapper' => $element['#id'] .'-ahah-wrapper',
       'method' => 'replace',
       'effect' => 'fade',
    ),
*/

So, what I did to work things out was :

  1. Just install the latest version of the Filefield module
  2. Open up filefield_widget.inc with a texteditor
  3. and comment out the lines above.

If anyone can shed some light on to what this does and if this kills other functionalities that I'm not aware of, let me know.
But I just have to do it this way, cause nothing else would work.

quineto’s picture

This worked for me too, and I haven't found any related issues .

Thank you for posting the solution!

Anonymous’s picture

I used xampp 1.7.2 and Drupal 6.17 without having this error.
I switched to xampp 1.7.1 (same drupal version) for eclipse/xdebug possibilities, and voila: the error occured.

Looking at admin --> reports --> status report: I got a warning regarding ImageApi and php_memory.
Upped the memory in php.ini and my images with bigger screenres could be uploaded also:)

So maybe no need to edit any files (apart from php.ini, restart apache server offcourse)

bmango’s picture

I was having the same problem but it was happening in all browsers. I fixed it by disabling GD2 and using ImageMagick instead. GD2 was also causing a fatal error for memory usage so it seemed like it was the culprit. I previously had tried commenting out the ahah lines as suggested above, and also downloading the jquery module (above), but neither of these had worked.

bfodeke’s picture

This works!! I've wasted about 4 hours figuring this out. No other options worked

Summit’s picture

Bookmarking, will look into ImageMagick. Greetings, Martijn

christopherhanson’s picture

found something, after 30 mins of going through config of my server I noticed $end error in my logs, had put <?php in template.php with no functions and this was causing my imagefield http 0 error and my ctools page manager error with 500 error, hope this helps some one else!

ps: not getting these errors in any browser at all now also!

AEinstein’s picture

In my case the HTTP error 0 raised with almost gallery (gallery assist, node gallery, etc.).
I spend two day to read a lot of documents from Forums and update those modules
Drupal to V.622,
CCK to V6.x-3.0-alpha3,
Filefield to V6.x-3.2
I try a lot of combination of modules but the problem remained.
The solution at #15 is the only solution that work for me. I tested the gallery with many version and the http 0 problem is disappeared in all version. The source of this problem is also in the filefield_widget.inc

Thank you for the solution.

phelix’s picture

Not sure if this will help anyone. But I was able to fix this. I had the filefield module installed. and every once in awhile it actually did work and let me upload a file. Then I really started getting this error 0 message. I noticed that even though the filefield module was installed and it showed the place to upload files on my page I didn't actually have the upload module enabled also. Enabling this so now upload module and filefield module are installed it removed my error message.

czigor’s picture

For me it was #14 that did the trick.