Jaron sent me a message:

I'm trying to implement the SWFUpload Module onto a Drupal installation.
Some pertinent information:

Hosting: HostGator
PHP: 4.4.4
MySQL: 4.1.22
Drupal: 5.3 (Fantastico Installation from Hostgator...possibly relevant
because I had to manually install the update.php file...maybe there's
something else defective about Fantastico's version...)
SWFUpload: 5.x-1.1
SWFUpload Source Files: 1.0.2-min (from http://swfupload.mammon.se)

I fixed the Title Case Status Error using the line replacement covered in
the forums (SWFUpload.js / swfupload.js). Overall, the module is *very*
close to working. The flash component DOM replacement completed in my File
Attachment forms.

The specific problem I'm facing is that when file uploads complete in the
Flash component, the exact moment they complete, I get a JavaScript alert
box with the error:

"Error Code: HTTP Error, File name: 2.2 Anatomy Of Pelvis.pdf, Message:
503"

Observations:
- normal AJAX file uploads attachments work fine

What I Have Tried:
- chmod +777 on the files directory
- using SWFUpload: 5.x-2.x + SWFUpload v7.00beta3. With this combination,
I can't even get the Flash component to replace in the form, hence the
reason why I'm trying to make this work with the 5.x-1.1
- poking around trying to figure out what is feeding the swfupload.module
the HTTP 503 Error to no avail

Questions:
1) Are there any module dependencies that I might not be aware of?
2) What could the HTTP Error 503 mean?
3) Could my questions get any more generic? :D

Thank you so much for any assistance you could provide and for maintaining
such an awesome module. I've used SWFUpload on other PHP websites before
and when it does work, the thing flies like butter so I'm really looking
forward to getting it to work on my installation.

Comments

robloach’s picture

Are you using Mac, Windows or Linux for your client? I know that Flash had some errors in the Mac version, that apparently were fixed in the labs version of Flash.

Are there any module dependencies that I might not be aware of?
Just upload.module!
What could the HTTP Error 503 mean?
503? Really not sure. I've gotten 403 before, which forced a logout of Drupal. But I'm still working on that...
Could my questions get any more generic? :D
Nope! One of my clients asked "Why doesn't this work?!" without describing anything else. I ended up just using normal HTTP upload instead until SWFUpload works with Drupal nicer.
jaronc’s picture

Title: Generic Q and A » Generic Q and A: HTTP Error 503

Hi Rob,

I was using Firefox and Safari on Mac but I just tried it out with Firefox and IE on Windows XP and there's no difference. I'll try installing from scratch on the same server using original source files from drupal.org and give it a shot on another one of my servers too. Thanks for the really quick reply!

-- Jaron

boris mann’s picture

Status: Active » Closed (fixed)

Closing. New code needs uploading and testing, with troubleshooting around different error codes.

pankajnegi’s picture

I have tried it and got the same problem(like An HTTP error 503 occurred. /drupaluttara/batch?id=7&op=do) with mozilla firefox, but its working with IE

thanx