From: eldy <> Date: Tue, 2 Mar 2004 20:56:32 +0000 (+0000) Subject: Fix bug of "SCALAR(0x8badae4)" with mod_perl X-Git-Tag: AWSTATS_6_1_BETA~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05545a59708a358825de7c34d3c07deeeba3e02;p=thirdparty%2FAWStats.git Fix bug of "SCALAR(0x8badae4)" with mod_perl --- diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt index 059764bf..1390890f 100644 --- a/docs/awstats_changelog.txt +++ b/docs/awstats_changelog.txt @@ -9,17 +9,18 @@ Fixes: - Fixed a problem of not working misc feature when using IIS and when URLWithQuery was set to 0. - Now all non ISO-8859-1 languages are shown correctly even with - Apache2 whatever is the value of the AddDefaultCharset - directive. -- maillogconvert.pl: Better management of error records with sendmail. + Apache2, whatever is the value of the AddDefaultCharset directive. +- Some plugins broke the xhtml output. +- Fixed old bug showing string "SCALAR(0x8badae4)" inside html reports + when using mod_perl. +- maillogconvert.pl: Better management of error records with sendmail and postfix (some "reject" records were discarded). - maillogconvert.pl: Fixed important bug where records were discarded - when server name ws a FQDN. + when server name was a FQDN. - configure.pl: Now works also on Mac OS X - configure.pl: If /etc/awstats directory does not exist, try to create it. If /etc/awstats.model.conf not found on Linux, try to - find from it in cgi-bin directory. -- Some plugins broke hte xhtml output. + find it in cgi-bin directory. New features/improvements: - Added Firefox to browser database. diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index b8681343..3a284f71 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -4942,7 +4942,7 @@ sub ShowEmailSendersChart { if ($ShowEMailSenders =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); } @@ -5015,7 +5015,7 @@ sub ShowEmailReceiversChart { if ($ShowEMailReceivers =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); } @@ -7357,7 +7357,7 @@ if (scalar keys %HTMLOutput) { # # print "\n"; # print "\n"; -# &tab_end; +# &tab_end(); # # print "
\n"; # @@ -7484,7 +7484,7 @@ if (scalar keys %HTMLOutput) { # # print "\n"; # print "\n"; -# &tab_end; +# &tab_end(); # &html_end; # exit(0); # } @@ -7545,7 +7545,7 @@ if (scalar keys %HTMLOutput) { print " "; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'allhosts'} || $HTMLOutput{'lasthosts'}) { @@ -7610,7 +7610,7 @@ if (scalar keys %HTMLOutput) { if ($ShowHostsStats =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'unknownip'}) { @@ -7653,7 +7653,7 @@ if (scalar keys %HTMLOutput) { if ($ShowHostsStats =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'allemails'} || $HTMLOutput{'lastemails'}) { @@ -7707,7 +7707,7 @@ if (scalar keys %HTMLOutput) { if ($ShowAuthenticatedUsers =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'allrobots'} || $HTMLOutput{'lastrobots'}) { @@ -7858,7 +7858,7 @@ if (scalar keys %HTMLOutput) { } print " \n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'unknownos'}) { @@ -7883,7 +7883,7 @@ if (scalar keys %HTMLOutput) { print "-"; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'unknownbrowser'}) { @@ -7906,7 +7906,7 @@ if (scalar keys %HTMLOutput) { print "-"; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'osdetail'}) { @@ -7998,7 +7998,7 @@ if (scalar keys %HTMLOutput) { print ""; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'browserdetail'}) { @@ -8091,7 +8091,7 @@ if (scalar keys %HTMLOutput) { print ""; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'refererse'}) { @@ -8134,7 +8134,7 @@ if (scalar keys %HTMLOutput) { print "$p_h %"; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'refererpages'}) { @@ -8193,7 +8193,7 @@ if (scalar keys %HTMLOutput) { print "$p_h %"; print "\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'keyphrases'}) { @@ -8222,7 +8222,7 @@ if (scalar keys %HTMLOutput) { print "$Message[124]$rest_s"; print "$p %\n"; } - &tab_end; + &tab_end(); &html_end(1); } if ($HTMLOutput{'keywords'}) { @@ -8251,7 +8251,7 @@ if (scalar keys %HTMLOutput) { print "$Message[30]$rest_s"; print "$p %\n"; } - &tab_end; + &tab_end(); &html_end(1); } foreach my $code (keys %TrapInfosForHTTPErrorCodes) { @@ -8284,7 +8284,7 @@ if (scalar keys %HTMLOutput) { # print "..."; # print "\n"; # } - &tab_end; + &tab_end(); &html_end(1); } } @@ -8526,7 +8526,7 @@ if (scalar keys %HTMLOutput) { print "\n"; print "\n"; - &tab_end; + &tab_end(); } } @@ -8729,7 +8729,7 @@ if (scalar keys %HTMLOutput) { print "\n"; print "\n"; - &tab_end; + &tab_end(); } # BY DAY OF WEEK @@ -8849,7 +8849,7 @@ if (scalar keys %HTMLOutput) { print ""; print "\n"; - &tab_end; + &tab_end(); } # BY HOUR @@ -8969,7 +8969,7 @@ if (scalar keys %HTMLOutput) { } print "\n"; - &tab_end; + &tab_end(); } print "\n \n\n"; @@ -9032,7 +9032,7 @@ if (scalar keys %HTMLOutput) { print " "; print "\n"; } - &tab_end; + &tab_end(); } # BY HOST/VISITOR @@ -9082,7 +9082,7 @@ if (scalar keys %HTMLOutput) { if ($ShowHostsStats =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); } # BY SENDER EMAIL @@ -9146,7 +9146,7 @@ if (scalar keys %HTMLOutput) { if ($ShowAuthenticatedUsers =~ /L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); } # BY ROBOTS @@ -9271,7 +9271,7 @@ if (scalar keys %HTMLOutput) { print "".($rest_s?"$p %":" ").""; print "\n"; } - &tab_end; + &tab_end(); } # BY FILE TYPE @@ -9339,7 +9339,7 @@ if (scalar keys %HTMLOutput) { } print "\n"; } - &tab_end; + &tab_end(); } # BY FILE SIZE @@ -9427,7 +9427,7 @@ if (scalar keys %HTMLOutput) { } print " \n"; } - &tab_end; + &tab_end(); } # BY OS @@ -9475,7 +9475,7 @@ if (scalar keys %HTMLOutput) { print "$Message[2]$rest_h"; print "$p %\n"; } - &tab_end; + &tab_end(); } # BY BROWSER @@ -9521,7 +9521,7 @@ if (scalar keys %HTMLOutput) { print "$Message[2] $rest_h"; print "$p %\n"; } - &tab_end; + &tab_end(); } # BY SCREEN SIZE @@ -9561,7 +9561,7 @@ if (scalar keys %HTMLOutput) { print "".($rest_h?"$p %":" ").""; print "\n"; } - &tab_end; + &tab_end(); } print "\n \n\n"; @@ -9683,7 +9683,7 @@ if (scalar keys %HTMLOutput) { if ($ShowOriginStats =~ /P/i) { print "".($_from_p[1]?$_from_p[1]:" ")."".($_from_p[1]?"$p_p[1] %":" ").""; } if ($ShowOriginStats =~ /H/i) { print "".($_from_h[1]?$_from_h[1]:" ")."".($_from_h[1]?"$p_h[1] %":" ").""; } print "\n"; - &tab_end; + &tab_end(); } print "\n \n\n"; @@ -9722,7 +9722,7 @@ if (scalar keys %HTMLOutput) { print "$Message[124]$rest_s"; print "$p %\n"; } - &tab_end; + &tab_end(); if ($ShowKeyphrasesStats && $ShowKeywordsStats) { print "\n"; } } if ($ShowKeyphrasesStats && $ShowKeywordsStats) { print "   "; } @@ -9754,7 +9754,7 @@ if (scalar keys %HTMLOutput) { print "$Message[30]$rest_s"; print "$p %\n"; } - &tab_end; + &tab_end(); if ($ShowKeyphrasesStats && $ShowKeywordsStats) { print "\n"; } } if ($ShowKeyphrasesStats && $ShowKeywordsStats) { print "\n"; } @@ -9800,7 +9800,7 @@ if (scalar keys %HTMLOutput) { print "".($total?"$p %":" ").""; print "\n"; } - &tab_end; + &tab_end(); } # BY HTTP STATUS @@ -9847,7 +9847,7 @@ if (scalar keys %HTMLOutput) { $total_h+=$_errors_h{$key}; $count++; } - &tab_end; + &tab_end(); } # BY CLUSTER @@ -9883,7 +9883,7 @@ if (scalar keys %HTMLOutput) { print "\n"; $count++; } - &tab_end; + &tab_end(); } # BY EXTRA SECTIONS @@ -9942,7 +9942,7 @@ if (scalar keys %HTMLOutput) { if ($ExtraStatTypes[$extranum] =~ m/L/i) { print " "; } print "\n"; } - &tab_end; + &tab_end(); } &html_end(1);