On Jan 18, 2006, at 14:38 , Stephen Carter wrote:

I didn't find a current amavis-stats list or openly available e- mail address for dale walsh (at least not in the amavis-stats download) so I thought I'd ask here.

I'm running SuSE 9.3 and have amavis-stats v 0.1.20 pretty much running fine, apart from the following php errors when I access the stats web page:

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/amavis-stats/amavis-stats.php: 277) in /usr/local/share/amavis-stats/includes/page_header.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/amavis-stats/amavis-stats.php: 277) in /usr/local/share/amavis-stats/includes/page_header.php on line 47

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/amavis-stats/amavis-stats.php: 277) in /usr/local/share/amavis-stats/includes/page_header.php on line 48

This occurs when some output is generated in the web interface before it outputs the html page.


I did a little hunting around and found some general coding errors that can cause this and couldn't find anything similar in amavis- stats although I'm not a programmer so I wasn't counting on finding the problem there.

Can someome tell me how to fix this problem? The alternative I have is to comment out the offending lines, but this disables what appears to be some no-cache directives in the original php code which I'd like to keep if possible.

I see a small error in my logic where I don't test for the existence of virus data before calling rrd_graph, I'll correct this and have a solution soon but seeing as how you now have virus data you wont be experiencing this problem anymore.


Thanks,

Stephen Carter

-- Dale


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to