RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Problem with upload_staus.cgi displaying as text

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
packerm



Joined: 05 Dec 2006
Posts: 8

PostPosted: Dec 05, 2006 4:31 pm    Post subject: Problem with upload_staus.cgi displaying as text Reply with quote

Hi

I've set the free version of xupload 2.5 up on our website and sorted out permissions etc, however the pop up box that's supposed to show progress just comes up with the text of the script i.e.

#!/usr/bin/perl
### XUpload v2.5
### SibSoft.net (26 Jan 2006)
use strict;
... etc etc

Is this a problem with the way I've set it up or a problem with the web server not recognising the perl script??

Checked on the ISPs help site (streamline.net) and PERL is supported on their LINUX server, the path to PERL is /usr/bin/perl and I've uploaded the CGI into my cgi-bin/xupload directory. According to the streamline help here http://www.streamlinesupport.net/index.php?page=show&id=103 pERL shojld not be a problem but not sure what I am doing wrong.

www.tshirt-mad.co.uk/upload_form.html is example.

Any help greatly appreciated

Mick
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 05, 2006 6:07 pm    Post subject: Reply with quote

Make sure X (execute) permission setted up on .cgi scripts. Email ISP support if still won't work.
Back to top
View user's profile Send private message Visit poster's website
packerm



Joined: 05 Dec 2006
Posts: 8

PostPosted: Dec 05, 2006 6:34 pm    Post subject: Reply with quote

i've chmoded everything to 777 so should have full access.
Back to top
View user's profile Send private message
chrisdpucci



Joined: 11 Oct 2006
Posts: 9

PostPosted: Dec 29, 2006 1:51 pm    Post subject: Reply with quote

Most servers won't execute scripts if the cgi-bin directory is chmod'd to 777 for security reasons. You have to have it set to 755 for scripts inside the cgi-bin directory to run.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group