[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] Re: [Koha] premature end of script headers
From: |
Rick Welykochy |
Subject: |
[Koha-devel] Re: [Koha] premature end of script headers |
Date: |
Fri, 19 Jan 2007 14:19:45 +1100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 |
Chris Cormack wrote:
It is, did you check the koha-error_log.
Yup. That is where I saw the cryptic error message:
[Fri Jan 19 00:14:18 2007] [error] [client 192.168.0.3] Premature end of script
headers: acqui-home.pl
Nothing else accompanied that message to tell me what was wrong.
OTOH in the shell I could clearly see what went wrong.
IMHO, the koha-error_log should show the same error condition
and messages as the shell.
There is nothing in the code to stop the error being sent, if its not in
the error logs its something apache is doing.
Yes, Apache is overriding the error message since no headers have
been output. This is documented at apache.org.
My diatribe in my previous email is how to prevent such behaviour
so that the programmer and Koha maintainer can actually see error
messages.
Anything that makes diadnosing errors and warnings on the web
server is a blessing, from my experience :)
cheers
rickw
--
_________________________________
Rick Welykochy || Praxis Services
The 7 R's of Windows support: retry, restart, reboot, reconfigure,
reinstall, reformat and finally, replace with Linux.