Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Warning in error logs

Posted 21 Nov 2007 23:41:56
1
has voted
21 Nov 2007 23:41:56 Kenneth Halley posted:
Been away a while- too busy on development!

Question for anyone. I have been trying to tidy up scripts and trawling my error logs looking for issues. One recurrent error or warning I see in the error log is this one- here is one example:

[Tue Nov 20 19:44:37 2007] [warn] Cannot get media type from 'cgi-script'

There is nothing to say which script is the error. I have done much searching on the web but cannot turn up anything relevant I suspect the error is maybe being thrown up by Apache rather than php processing but beyond this I don't really know what I am looking for.

I suspect it might be some sort of indicator of html being returned by a script without the proper headers on to the browser- ie the line:
<meta http-equiv=content-type content="text/html; charset=UTF-8">
Is this correct and are there any generic ways of resolving this. i would desire to get to a stage where the error logs are completely clean except for real serious issues.(hopefully none!)

-----------------------------------
www.halleynet.co.uk

Edited by - kenneth_halley on 21 Nov 2007 23:42:56

Reply to this topic