From: Yves <yme...@pe...> - 2004-12-13 10:36:59
|
Hi :) Following message is from Ben who has problems with mails. Yves Can you please check the caching on your browser and proxy server. Set your browser to check for new versions of the script every time, and if possible flush the cache on your browser and proxy. (The error message can be broadcast from the proxy as a valid page. But without the meta information to tell browser when to check for the page again. Therefore the browser caches the error. It's happened to me and driven me mad!) You may have a crash in the code beyond the header. The header is buffered, a crash destroys the buffer and hence the header. After your header add fflush(stderr). If this is the case you will now have a blank page returned, hopefully showing an error. Can you also tell me whether this on the main menu, or other pages? Ben > Hi All, > > I tried to compile the new version (0.104.3), but I have the same error= . > In the http error log I can see : > [error] [client 10.1.1.2] malformed header from script. Bad > header=3Dperfparse.cgi: perfparse.cgi, referer: > http://10.1.1.1/nagios/cgi-bin/perfparse.cgi > > This is before the debug (printf(stderr, "%s:%d\n", __FILE__,__LINE__);= ) in > inserted... > Same thing after I put it in the debug line (after the header() and in = the > headerGraphDisplay() function) > > I also tried "chmod ug+s perfparse.cgi" and nothing... > If I run the cgi from command line I get the HTML (from the apache user= and > root), but I don't get a png. > > The connection to the MtSQL is OK, I can see that when I changed the us= er, > then I don't get the HTML (by command prompt)... > > Thanks, > Gili > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - |