1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Awstats menu nav.html in random order

Discussion in 'Plesk 11.x for Linux' started by Toxalot, Oct 19, 2012.

  1. Toxalot

    Toxalot Basic Pleskian

    14
     
    Joined:
    Oct 12, 2012
    Messages:
    70
    Likes Received:
    0
    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.
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    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
     
  3. Toxalot

    Toxalot Basic Pleskian

    14
     
    Joined:
    Oct 12, 2012
    Messages:
    70
    Likes Received:
    0
    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.
     
Loading...