Web Hosting Talk







View Full Version : Error logs


certify
08-03-2001, 07:20 AM
[Fri Aug 3 06:11:36 2001] [error] [client 210.186.221.219] Premature end of script headers: /usr/local/plesk/apache/vhosts/certifyexpress.com/cgi-bin/topsites/setup.cgi
[Fri Aug 3 06:11:38 2001] [error] [client 210.186.221.219] Premature end of script headers: /usr/local/plesk/apache/vhosts/certifyexpress.com/cgi-bin/topsites/setup.cgi
[Fri Aug 3 06:11:39 2001] [error] [client 210.186.221.219] Premature end of script headers: /usr/local/plesk/apache/vhosts/certifyexpress.com/cgi-bin/topsites/setup.cgi


What does it means and how do i solved it?

allan
08-03-2001, 09:57 AM
Unfortunately, "premature end of script headers" is like a Windows General Protection Fault. It could mean any of several things. Start by checking the following:

1. Did you upload the script in ASCII format? If you did not, or are not sure run the following command from the command line:

perl -pi.bak -e "s/\015//g" *.cgi

That will get rid of any ^M that are left by Windows carriage returns.

2. Make sure your path to perl is right.

3. Make sure it has the right permissions.

certify
08-04-2001, 05:57 AM
Thanks.