Forum Moderators: coopster & phranque

Message Too Old, No Replies

Premature end of script headers

Premature end of script headers

         

matthewamzn

6:27 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



I've been trying to install a popular free top list script for my website. I uploaded the script using ASCII. But I keep getting this error message when I try to log into the admin panel of the script.

Premature end of script headers: admin.cgi

Any suggestions would be really appreciated.

Moby_Dim

6:51 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



Different reasons're possible. Syntax, path(s), other settings you change. Tip : download DzSoft Perl Editor and use it as a debugger (i didn't used others). You'll save a lot of time, sure.

volatilegx

8:20 pm on Jun 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try editing the first line of the script (known as the shebang line or "path to perl" line). Add a "-w" at the end (without the quotes).

Try running the script again. Then, check your error log. There should be detailed info in the log describing the problem.