Statistics addon problem

hi
Maybe i’ll get there eventually.
I installed the Statistics addon and I can generate
tables and 1 graph (calls per queue per day works) but
the others are broken links. I’m not sure what else to
try. I’ve cleared the cache and restarted apache.
Whats different about that 1 graph from the others ?

I have fedora 2, perl 5.8.3, apache 2.0.51, libgd
2.0.33 , gd and gd::graph installed without error and
i have libpng and libjpeg installed.

The old one that generates an error on screen is
RequestsPerDayofWeek -

error: Error during compilation of
/usr/local/rt3/share/html/Statistics/DayOfWeek/index.html:
“my” variable $status masks earlier declaration in
same scope at
/usr/local/rt3/share/html/Statistics/DayOfWeek/index.html
line 17.
syntax error at
/usr/local/rt3/share/html/Statistics/DayOfWeek/index.html
line 2, near “);”

context: 1: <& /Elements/Header, Title =>loc(‘RT
Statistics: Calls by Day Of Week in Queue:’ .
$QueueObj->Name() &>
2: <& /Statistics/Elements/Tabs, Title =>loc(‘RT
Statistics: Calls by Day Of Week in Queue:’ .
$QueueObj->Name()) &>
3:
4:

<&|/l, $QueueObj->Name&>Number of Tickets
Handled in [_1] Per Day</&>


5:
6:

13:
14: % for my $d (0…$#days) {
15:
16: <% loc($days[$d]) %>
17: % for my $status (qw(resolved created deleted)) {

18: <% $counts[$d]{$status} %>
19: % }
20:
21: % }

code stack:
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:326
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm:62
/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.3/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:222
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm:897
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm:822
/usr/local/rt3/bin/webmux.pl:126
-e:0

Elaine

ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com