DannyD

Member
Dec 5, 2008
16
1
53
For some reason its not updating for some of my clients. I have also tried updating it through WHM for that client it still does not work. Is there a way to update all the stats via SSH or some other way? Or is there a way the client can update awstats theirself because everytime i click the update button i get an error.
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
For some reason its not updating for some of my clients. I have also tried updating it through WHM for that client it still does not work. Is there a way to update all the stats via SSH or some other way? Or is there a way the client can update awstats theirself because everytime i click the update button i get an error.
Yes, there is a configuration option to AWSTATs to allow users to be able
to update the stats themselves and is simple enough to setup.

The bigger question is exactly what does that error message say that
you just mentioned in your post above?
 

DannyD

Member
Dec 5, 2008
16
1
53
Hi,

For some reason now when i click update it jsut refreshes the page and all my stats are at 0.. how can i make it so the user can update it themselfs through cpanel where would i enable this?
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Set the following variable to '1' in the configuration file for each account:
Code:
AllowToUpdateStatsFromBrowser=1
The AwStats configuration files are located at:
Code:
/home/*/tmp/awstats/*.conf
 

DannyD

Member
Dec 5, 2008
16
1
53
Ok I did that, and clicked the update button but it just refreshes and all the stats are at 0
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Ok I did that, and clicked the update button but it just refreshes and all the stats are at 0
Did you clear your browser cache and reload the page before doing that?

(Otherwise you'll just be looking at old data)

If you log files have been cleared for some reason or rolled off to archives
then there won't be anything available for AwStats to update.

(See /usr/local/apache/domlogs)
 

PlatinumServerM

Well-Known Member
PartnerNOC
Jul 10, 2005
400
3
168
New Jersey, USA
cPanel Access Level
Root Administrator

DannyD

Member
Dec 5, 2008
16
1
53
Try running the stats from ssh manually and see what error shows up, it can be many different problems, that will give you all the details.
How would I do this? I will be purchasing management from you guys in about 4-5 days :). What command would I run?