| View previous topic :: View next topic |
| Author |
Message |
localhorst
Joined: 31 May 2008 Posts: 1
|
Posted: May 31, 2008 2:38 pm Post subject: Premature end of script headers: upload_status.cgi |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jun 02, 2008 6:43 am Post subject: |
|
|
As far as I remember you need to add
| Code: | | chdir("dir-to-your-cgi-bin"); |
before "use strict;" under windows. |
|
| Back to top |
|
 |
|
|
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
|