How to display
the update now link in awstat
??
i have enabled this in whm
whm >> tweack settings >> Allow users to update Awstats from cPanel
but still the link disappear !!!
How to display
the update now link in awstat
??
i have enabled this in whm
whm >> tweack settings >> Allow users to update Awstats from cPanel
but still the link disappear !!!
Im also looking for this fix. It seems theres a /usr/local/cpanel/etc/awstats.conf file that should enable this but im not sure how to do it. There is a section for this:
# When this parameter is set to 1, AWStats add a button on report page to
# allow to "update" statistics from a web browser. Warning, when "update" is
# made from a browser, AWStats is ran as a CGI by the web server user
# defined in your web server (user "nobody" by default with Apache, "IUSR_XXX"
# with IIS), so the "DirData" directory and all already existing history files
# (awstatsMMYYYY[.xxx].txt) must be writable by this user. Change permissions
# if required.
# Warning: Update process can be long so you might experience "time out"
# browser errors if you don't launch AWStats enough frequently.
# When set to 0, update is only made when AWStats is ran from the command
# line interface (or a task scheduler).
# Possible values: 1 or 0
# Default: 0
#
AllowToUpdateStatsFromBrowser=%BROWSERUPDATE%
I believe that changing this to 1 will work, but as I have tried it and it hadnt worked I am still looking for a solution
Hi,
Try to change particular account awstats conf to get update now stats option
Edit file /home/username/tmp/awstats/awstats.domainame.com.conf
set AllowToUpdateStatsFromBrowser=1
Did we discover a solution for this? I do not particularly want to enable this open on everyone's account - but if I must I must.
EDIT: Found a post by WebScHoLaR trying chattr +i on the file. Will see how that goes. Thanks WebScHoLaR.
Last edited by darren.nolan; 11-29-2007 at 10:20 PM.
I think the bug goes a bit deeper than this
running WHM 11.11.0 cPanel 11.15.0-C18335
and on some sites we see no stats update button despite settings being AllowToUpdateStatsFromBrowser=1