[Typo3] Re: awstats problems with perl script call
Francois Suter
fsuter at cobweb.ch
Wed Feb 9 10:34:06 CET 2005
Hi all,
This thread was launched a long while ago and answers might have been
given off list.
Since we recently had a problem with AWStats, I just tought I would
share the solution with everyone.
The problem happened when running a recent version of Perl (5.8) in
strict mode. The following line causes problems:
awstats.pl, line 7012: my @avg_dayofweek_nb = my @avg_dayofweek_p = my
@avg_dayofweek_h = my @avg_dayofweek_k = ();
It needs to be split on four lines, as such:
my @avg_dayofweek_nb = ();
my @avg_dayofweek_p = ();
my @avg_dayofweek_h = ();
my @avg_dayofweek_k = ();
If this can be of any help to someone...
Cheers
François Suter
Directeur technique
-----------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
-----------------------------------------------------
More information about the TYPO3-english
mailing list