Hello all,

i am very sorry that i didn't wait until now and wrote this all in one Mail. But, i got my Graphs working now. How? I just send myself a mail. Since i am testing my DSPAM installation on a domain which gets virtually zero E-Mail at the moment, the "Today" Graph had no Data. As soon i send a Mail to my test-mail Account, clicking on the Analysis Button showed me the nice Graphs again. I will test this now on another Install of DSPAM i have on another Mailserver to see if it is the same behavior. To me it seems that an Account that didn't get a Mail today, cannot use the Analysis Button. If it is, i think this should get handled more nicely.

Later,
David


On Feb 26, 2007, at 9:20 PM, David Schulz wrote:

Hello,

until now i found out, that when i call the graph.cgi directly via my Browser, by going to the URL "http://www.domain.com/cgi-bin/ dspam/graph.cgi? data=5,0,0,73_36,22,24,1_2/23,2/24,2/25,2/26&graph=period&x_label=Date ", i do actually get a nice Graph. So i assume this means my Problem is not actually in the graph.cgi or my installed Packages, as i initially thought.

Thanks,
David


On Feb 26, 2007, at 4:07 PM, David Schulz wrote:

Hi all,

Setup:
FreeBSD 6.2
Postfix with virtual Users in Mysql DB, Dspam
Apache13+modssl
Perl 5.8.8
PHP5

Problem:
When i click on the Analysis Button on the Webui, i get a "Internal Server Error" from Apache. The Error Log yields Can't use an undefined value as an ARRAY reference at /usr/local/ www/cgi-bin/dspam/dspam.cgi line 551. [Mon Feb 26 15:56:32 2007] [error] [client 208.14.54.204] Premature end of script headers: /usr/local/www/cgi-bin/dspam/ dspam.cgi

All other Interface Options work, the Stats Display right, and also the Graphics under "System Status" display fine.

I have the following Packages installed:
p5-Bit-Vector-6.4_1 Library of advanced math functions that includes a Perl OO p5-Carp-Clan-5.8 Report errors from perspective of caller of a "clan" of mod
p5-Date-Calc-5.5    Gregorian calendar date calculations
p5-File-Tail-0.99.3 Perl Module to read the end of a file as it\'s appended to
p5-GD-2.35          A perl5 interface to Gd Graphics Library version2
p5-GD-Graph-1.43.08 Graph plotting module for perl5
p5-GD-Graph3d-0.63  Creates 3D charts with GD::Graph and GD
p5-GD-TextUtil-0.86 Text utilities for use with GD drawing package
p5-gettext-1.05_1   Message handling functions

This all started happening after i removed apache13 in favour of apache22, and then went back again after noting that mod_auth_mysql is marked as broken in the FreeBSD Ports Tree. I guess somewhere in the Process something must have gone wrong. Since then i already totally removed and reinstalled all the required Packages, but to no avail.

Can anyone please help me resolve this Problem, i really would like to have my Analysis Graph back.

Thanks a lot,
David




Reply via email to