Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny
I have followed this tut. Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny and I got it working for 98%
Awstats generates every hour an awstatsMMYYYY.www.domain.nu.txt file ( I can see this on the timestamp of the files )
The problem is that jawstats speaks a different language.
jawstats wants to read a file with the name awstatsYYYYM.www.domain.nu.txt to make jawstats speak the same language as awstats I added this: "statsname" => "awstats[MM][YYYY].www.domain.nu.txt", to the jawstats config.php file but it did not help.
What can I do to solve this ?
You must put the correct file name in the LogFile variable in that site's awstats configuration.
Maybe you can configure the name of the file that AWStats creates? Did you change anything else in the AWStats configuration than what is shown in the tutorial?
change the way JAWStats interprets, not the AWStats writes
there is a stats name variable as of patched 0.7 of JAWStats. it looks like this :
$aConfig["site1"] = array(
"statspath" => "/path/to/data/",
"statsname" => "myformat[YYYY][MM].txt",
"updatepath" => "/path/to/awstats.pl/",
"siteurl" => "http://www.my-1st-domain.com",
"sitename" => "My 1st Domain",
"theme" => "default",
"fadespeed" => 250,
"password" => "my-1st-password",
"includes" => "",
"language" => "en-gb"
i copied this info from http://www.jawstats.com/documentation
|All times are GMT +2. The time now is 22:18.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.