XUpload - Out of ideas, it doesn't work

Message
Author
mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

Out of ideas, it doesn't work

#1 Postby mcannell » Mar 30, 2009 8:59 pm

I've tried everything

I've triple checked every setting

I've uploaded binary

I've made an .htaccess

all my paths are absolute and correct

I've gone through the sticky post and done everything

I have a VPS and there must be something missing on my server. There is a sticky post that recommends a host so there must be something that is needed.

I don't get any errors!

Apache, Fedora Core 10, Plesk, Virtuozzo

Can someone please help?

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#2 Postby mcannell » Mar 30, 2009 9:00 pm


mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#3 Postby mcannell » Mar 30, 2009 9:44 pm

Does it mean something that this perl script doesn't run on my server?

Code: Select all

#!/usr/bin/perl -w

     # Tell perl to send a html header.
     # So your browser gets the output
     # rather then <stdout>(command line
     # on the server.)
print "Content-type: text/html\n\n";

     # print your basic html tags.
     # and the content of them.
print "<html><head><title>Hello World!! </title></head>\n";
print "<body><h1>Hello world</h1></body></html>\n";
I would think so.

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#4 Postby mcannell » Mar 30, 2009 9:56 pm

I chmodded the hello world perl script to 0777 and now it runs....

However non of the XUpload files run

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#5 Postby mcannell » Mar 30, 2009 10:09 pm

I made the iframe visible and I get no error message in it.

I go direct to the upload.cgi and I even pass it some variables, I get a blank page.

Is the cgi even running?

I have verified that perl is installed and mod_perl is installed.

I really need help with this, I have wasted all day on it

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#6 Postby mcannell » Mar 30, 2009 11:41 pm

Code: Select all

[Tue Mar 31 03:34:01 2009] [error] [client 173.88.88.66] File does not exist: /path/to/httpdocs/tmp/826734491292.html, referer: http://www.diverstocollege.com/xupload_tiny.html
[Tue Mar 31 03:34:03 2009] [error] [client 173.88.88.66] (2)No such file or directory: exec of '/path/to/cgi-bin/upload.cgi' failed, referer: http://www.diverstocollege.com/xupload_tiny.html
[Tue Mar 31 03:34:03 2009] [error] [client 173.88.88.66] Premature end of script headers: upload.cgi, referer: http://www.diverstocollege.com/xupload_tiny.html
It seems like a write permissions issue but the folders are set to 0777
I also set them to 0775

I've set ownership to:
root
apache
default www user

NOTHING!

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#7 Postby mcannell » Mar 31, 2009 12:03 am

1) .cgi to 755, .pm to 744
I did this even, nothing changed, same errors in error_log

mcannell
Posts: 8
Joined: Mar 30, 2009 6:53 pm

#8 Postby mcannell » Mar 31, 2009 12:06 am

Code: Select all

xupload_cgi_url='/cgi-bin';  // URL to cgi-bin folder
xupload_tmp_url='/tmp';     // URL to tmp folder

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

#9 Postby PilgrimX182 » Mar 31, 2009 2:24 am

http://www.diverstocollege.com/cgi-bin/upload.cgi gives error.

Not sure what's wrong there but I can fix it asap if you need this, just PM me ftp access.