SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Premature end of script headers: upload_status.cgi

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



Joined: 31 May 2008
Posts: 1

PostPosted: May 31, 2008 2:38 pm    Post subject: Premature end of script headers: upload_status.cgi Reply with quote

Hello,
I want to use the script XUpload for my website,
I code all on my local server.
And when I want to upload something,
the popup opens and there stands
"Premature end of script headers: upload_status.cgi"!
By the way I use XAMPP on WinXP.

Script: XUpload 2.6
Browser: Firefox 3
OS: WinXP SP1

Codestarting of the upload_status.gci:
Code:
#!"C:\Programme\xampp\perl\bin\perl.exe" -w
### XUpload v2.6
### SibSoft.net (18 Jan 2007)
use strict;
use CGI::Carp qw(fatalsToBrowser);
use lib '.';
use XUploadConfig;
use HTML::Template;
[...]


In the apachelog stands that the error is on line 4: "use strict;"
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Jun 02, 2008 6:43 am    Post subject: Reply with quote

As far as I remember you need to add
Code:
chdir("dir-to-your-cgi-bin");

before "use strict;" under windows.
Back to top
View user's profile Send private message Visit poster's website AIM Address
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