Change default website stats program

Discussion in 'General' started by electronico_nc, Jun 24, 2014.

  1. Hello all,

    We personnaly use AWstats for website stats.
    A new website has been created several weeks ago and I forgot to switch Webstat program to Awstats for it.
    So I've just done it and ran a manual :
    Code:
    sudo /usr/local/ispconfig/server/cron_daily.sh
    But only today's stats are displayed.
    Is there a way to either :
    - setup default website Stat program to Awstats
    - having the past days stats displayed in Awstats
    ?

    Thanks in advance for your time.
    Nicolas
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can set the default program by changing the default value of the database column "stats_type" to awstats.
     
  3. Thanks Till,

    Here is the query PhpMyAdmin has executed:
    Code:
    ALTER TABLE `web_domain` CHANGE `stats_type` `stats_type` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'awstats'
     

Share This Page