Adam And Liz.com AdamAndLiz > Technical > PrematureEndOfScriptHeaders (r1.1 vs. r1.6) AdamAndLiz webs:
Know| Main | Plugins? | Sandbox | TWiki | Technical | Us |
Technical . { Changes | Index | Search | Go }
 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.6 - 17 Aug 2005 - TWikiGuest)
Added:
>
>


Please refresh.

-- TWikiGuest - 17 Aug 2005


 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.5 - 17 Nov 2003 - AdamWhite)
Changed:
<
<

I got this error when accessing a cgi perl script

>
>

I got this error when accessing a cgi perl script:

Changed:
<
<

In the apache error_log, the following error was observed:

>
>

In the apache error_log, the following error was observed:

Added:
>
>


 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.4 - 15 Nov 2003 - AdamWhite)
Changed:
<
<

Premature End Of Script Headers

>
>

Premature End Of Script Headers

Added:
>
>

In the apache error_log, the following error was observed:
[Sat Nov 15 20:14:24 2003] [error] [client 192.168.7.3] Premature end of script headers: savecomment, referer: http://www.adamandliz.com/twiki/bin/view/Technical/PrematureEndOfScriptHeaders

Deleted:
<
<

Please refresh.

-- TWikiGuest - 15 Nov 2003


 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.3 - 15 Nov 2003 - AdamWhite)
Added:
>
>

In this case (and there are many other reasons or it I believe) it was the permissions on the script, Group did not have execute authority and the owner was root.

I did a chmod 755 scriptname and it worked!!


 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.2 - 15 Nov 2003 - TWikiGuest)
Added:
>
>


Please refresh.

-- TWikiGuest - 15 Nov 2003


 <<O>>  Difference Topic PrematureEndOfScriptHeaders (r1.1 - 15 Nov 2003 - AdamWhite)
Added:
>
>

%META:TOPICINFO{author="adam" date="1068927360" format="1.0" version="1.1"}% %META:TOPICPARENT{name="ErrorSolutions"}% Premature End Of Script Headers

I got this error when accessing a cgi perl script

Server error!
Error message:
Premature end of script headers: savecomment
If you think this is a server error, please contact the webmaster
Error 500

-- AdamWhite - 15 Nov 2003

Comments



Topic PrematureEndOfScriptHeaders . { View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.1 - 15 Nov 2003 - 20:16 GMT - AdamWhite
Revision r1.6 - 17 Aug 2005 - 03:10 GMT - TWikiGuest
Copyright © 2003 by the contributing authors. Send feedback.