An HTTP error 0 occured /upload/js

sajalsoni - May 21, 2009 - 05:15
Project:upload (simple)
Version:HEAD
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hello All,

I really wonder Drupal comes at 6.12.. And such critical bugs are remains to unsolved in CORE???? Or say they are unexplained at all... can't believe this with Drupal!!

I downloaded Drupal 6.12, I have fedora 10 installed on my system with correctly set up php/apache/mysql.

Anything would be greatly appreciated, I really believe core module should work out of box on any system
otherwise it should not be in Drupal core.. sorry but it's the fact what I feel.

Thanks,
Sajal

#1

did1979 - May 29, 2009 - 12:08

Hello,

I have the same bug. Have you found an issue to upload files bigger than 1 Mo ?

I also have drupal 6.12 / Debian server.

On a localhost with ubuntu I do not have the problem.

Thanks.
Did

#2

sanjeetkpandey - June 1, 2009 - 06:30

same here ,works fine on local system(windows) but An HTTP error 0 occurs on test server(linux). I have not enabled any contributed modules,enabled the upload module(core optional) .
There are many posts regarding this error.......the problem is no one seems to realize that bug is in drupal core.

#3

bradklaver - June 2, 2009 - 20:43

Yeah this happens to me as well, I've read a ton of threads. It DOESN'T happen with IE7, or if I set up Drupal on my localhost and use firefox it works fine then as well.

Only when I use firefox and drupal is on shared hosting does this happen. I feel bad cause a lot of other posters are really harping on the developers. That sort of behavior ruins your credibility.

I get it with all sorts of upload modules, whether its ImageField, or regular File Attachment on a node. It only happens when it is uploaded via the AJAX Upload button, it doesn't happen when you hit submit.

I am NOT using big images. Under 100kb. 1and1 is my host. (UGH)

#4

fivehimself - June 6, 2009 - 10:36

Problem also occured on my production server, no problemo on localhost MacBook.

From my Apache error log, I grabbed the following error:

[Fri Jun 05 16:01:54 2009] [error] [client 172.20.*.*] File does not exist: C:/inetpub/wwwroot/sites, referer: http://****/aqua-sandbox/node/add/bestand
'file' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

The path to my sites directory is C:/inetpub/wwwroot/aqua-sandbox/sites, and not C:/inetpub/wwwroot/sites.

I'm using the File Framework module, with Attach and Bitcache. The files are stored inside the Bitcache repository, but something is going wrong and produces the:

"An HTTP 0 error occurred.
/aqua-sandbox/file_attach/js"

I've increased memory up to the point of 128M, but that doens't seem to be the problem...

[EDIT] Disabled all modules, and activated them one at the time. This worked for me: http://drupal.org/node/483098

#5

mike.johnson - June 11, 2009 - 20:58

**FIXED (for me anyway)**

Although I was only uploading a 20M file, and my php.ini had it's memory_limit set to 50M the file still failed.

BUT once I changed the memory_limit to 100M the file uploaded properly on all platforms and all browsers (Fedora 10, 11, WinXP, Win 7, FF & IE 7, 8) That's a horrible thing to have to do, but I hope it helps some of you out there. This problem has frustrated me like no other.

 
 

Drupal is a registered trademark of Dries Buytaert.