Package: awstats Version: 7.0~dfsg-2 Severity: important Tags: patch awstats_buildstaticpages.pl does not build the 'downloads' full list page even when enabled in the main configuration, this leaves a 'broken link' on the main constructed page.
After looking into this it seemed to be an easy fix to add this. Please see the blow diff. --- /usr/share/awstats/tools/awstats_buildstaticpages.pl_orig 2011-04-06 00:55:20.000000000 +0100 +++ /usr/share/awstats/tools/awstats_buildstaticpages.pl 2011-08-22 14:26:36.596150821 +0100 @@ -50,7 +50,7 @@ $ShowEMailSenders $ShowEMailReceivers $ShowWormsStats $ShowClusterStats $ShowMenu $ShowMonthStats $ShowDaysOfMonthStats $ShowDaysOfWeekStats $ShowHoursStats $ShowDomainsStats $ShowHostsStats -$ShowRobotsStats $ShowSessionsStats $ShowPagesStats $ShowFileTypesStats +$ShowRobotsStats $ShowSessionsStats $ShowDownloadsStats $ShowPagesStats $ShowFileTypesStats $ShowOSStats $ShowBrowsersStats $ShowOriginStats $ShowKeyphrasesStats $ShowKeywordsStats $ShowMiscStats $ShowHTTPErrorsStats $BuildReportFormat @@ -350,6 +350,7 @@ if ($ShowEMailSenders) { push @OutputList,'allemails'; push @OutputList,'lastemails'; } if ($ShowEMailReceivers) { push @OutputList,'allemailr'; push @OutputList,'lastemailr'; } if ($ShowSessionsStats) { push @OutputList,'session'; } +if ($ShowDownloadsStats) { push @OutputList,'downloads'; } if ($ShowPagesStats) { push @OutputList,'urldetail'; push @OutputList,'urlentry'; push @OutputList,'urlexit'; } #if ($ShowFileTypesStats) { push @OutputList,'filetypes'; } # There is dedicated page for filetypes if ($ShowOSStats) { push @OutputList,'osdetail'; push @OutputList,'unknownos'; } Many thanks CraigT -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages awstats depends on: ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction Versions of packages awstats recommends: ii coreutils 8.5-1 GNU core utilities ii libnet-xwhois-perl 0.90-3 Whois Client Interface for Perl5 Versions of packages awstats suggests: ii apache2 2.2.16-6+squeeze1 Apache HTTP Server metapackage ii apache2-mpm-prefork [h 2.2.16-6+squeeze1 Apache HTTP Server - traditional n pn libgeo-ipfree-perl <none> (no description available) pn libnet-dns-perl <none> (no description available) pn libnet-ip-perl <none> (no description available) ii liburi-perl 1.54-2 module to manipulate and access UR -- Configuration Files: /etc/awstats/awstats.conf [Errno 2] No such file or directory: u'/etc/awstats/awstats.conf' /etc/cron.d/awstats changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org