XUpload - Malformed multipart POST

Message
Author
aperic
Posts: 2
Joined: Mar 13, 2007 1:43 am

Malformed multipart POST

#1 Postby aperic » Mar 13, 2007 1:55 am

My upload would start and then after a few seconds I would get the "Upload Failed!" message. I made the hidden iframe visible on upload_form.html and it revealed this error message "Malformed multipart POST". What could be wrong?

*Running XUpload Free 2.6 on Win XP, Firefox 2 or IE7, Apache Tomcat 5.5.17, ActivePerl

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Mar 13, 2007 7:58 am

Interesting. Check that your HTML form contain

Code: Select all

 enctype="multipart/form-data"
and

Code: Select all

 method="post"
Try to install latest perl CGI module.

Also check out this thread:
http://www.experts-exchange.com/Program ... 02077.html

It's Apache/CGI server problem.

aperic
Posts: 2
Joined: Mar 13, 2007 1:43 am

#3 Postby aperic » Mar 14, 2007 11:45 pm

The "enctype" and "method" attributes are in the form tag as you specified. I also installed the latest version of CGI.pm module... however, this doesn't seem to help on the Apache Tomcat server, as described in this thread:

http://mail-archives.apache.org/mod_mbo ... gzilla/%3E

I should also mention that I managed to get XUpload to run on Apache 2.0 server with no problems but I really need to use it on Tomcat. Has anyone been successful in running XUpload on Tomcat server?