AWstats Plugin stopped working after ISPConfig update

Discussion in 'Installation/Configuration' started by Insane1, Nov 1, 2009.

  1. Insane1

    Insane1 New Member

    I used the awstats Plugin of http://jnsc.ch/ispconfig.php . Now I updated my ISPConfig to version 2.2.33 and my awstats don't update anymore. What can I do?
     
  2. jnsc

    jnsc rotaredoM Moderator

    If you execute
    Code:
    crontab -l
    do you still have
    Code:
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
     
  3. Insane1

    Insane1 New Member

    yes, my crontab looks like this:

    Code:
    30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
    59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
    0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
    15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
    40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
    05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
    0 7 * * * /usr/local/sbin/postfix_report.sh &> /dev/null
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
    
    
     
  4. jnsc

    jnsc rotaredoM Moderator

    Did you choose AWStats in the Options tab of the Website? It's at the bottom of the page.
     
  5. hakans

    hakans New Member

    It is also not working for me. I can not find the AWStats Option for the site anymore?

    When I look in the ISP DB I also see that the field webalizer_stats is 1 in table isp_isp_web. According to awstats.php this flag must be 2 in order to create statistics.
    Code:
                    $webname = $dir;
                    $web_doc_id = str_replace("web", "", $webname);
                    if ($web_data = $mod->db->queryOneRecord("SELECT * FROM isp_isp_web WHERE doc_id = '$web_doc_id' AND webalizer_stats = '2'"))
                    {
    
    Has the file awstats.php changed?
     
  6. jnsc

    jnsc rotaredoM Moderator

    The option is here :
     

    Attached Files:

  7. hakans

    hakans New Member

    How could I miss that.
    Thanks!
     

Share This Page