• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Awstats menu nav.html in random order

Toxalot

Basic Pleskian
I transferred Awstats archives from an old non-Plesk server. I got everything working by following the instructions at http://kb.parallels.com/en/5550

However, the menu (nav.html) displays in random order. I found the following script to fix it.
http://www.bigsoft.co.uk/blog/index.php/2008/12/02/plesk-s-awstats-show-select-period-in-wr

The above script works, but it should show in chronological order 'out of the box'. A comment on the following page says that this (random order) problem was fixed in Plesk 10.
http://www.bigsoft.co.uk/blog/index.php/2008/07/08/plesk-awstat-forgets-the-monthly-statist

Well, either that comment is wrong or the problem re-appeared because they are showing in random order in Plesk 11.
 
You could try rebuilding the AWStats pages by the command:

/usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=domain.com-http -dir=/var/www/vhosts/domain.com/statistics/webstat/current
 
You could try rebuilding the AWStats pages by the command:

/usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=domain.com-http -dir=/var/www/vhosts/domain.com/statistics/webstat/current
Even if that were to work, I'm not sure how that fixes the problem. The nav.html file is regenerated every night. Without the fixer script, the select period drop-down box is in random order.
 
Back
Top