• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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