Help - Search - Members - Calendar
Full Version: problem with cgi, HELP
The Planet Forums > Control Panels > Plesk
dnsprotocol
What ever script I use, nomatter what, whenever I check my error logs, it shows this...

[Sat Mar 16 12:27:47 2002] [error] [client 205.188.209.40] Premature end of script headers: /usr/local/psa/home/vhosts/mydomain.com/cgi-bin/signup/program.pl

... Above is an example of one my scripts failing and I have no idea what premature end of script means.

Please help!!! Thank you...
Shortfork
The only time I've seen that error is when there was another script that the first script called to and I'd managed to miss getting it installed.. is this a single script program or does it have multiple parts?

What is the name of the script you are calling in the first place, is it the name of the one in the error messag? Also, is that the actual message or did you change the "mydomain" thing for security? If it's actually the message, the initial script is looking for the script at mydomain.com and not where it actually is.

Shortz
dnsprotocol
since non of my scripts work and I wanted to find out why, I decided to use a single form mail script which consist of a single script and it still don't work.
Rich2k
Try calling Perl as #!/usr/bin/perl -w
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.