Forum: Problem on change Month

 

« Back To Thread List

pklib
3571 days ago
Thanks for build much better tool that works with Awstat data.
I am new to jawstat and testing it before implementing on production server. There are two issue that is not working:
1) on change month, only one month is not grayed out. On config.php i have 4 month logs configured for WSU Library. But it only show December 1999 which not the awstats data.
Not sure how to configure individual awstats data on jawstats.

2) December 1999 is also defaults on header page and don't know why? Here is the URL and config.php to look at it.

http://141.217.97.135/jawstats/index.php

****
// individual site configuration

$aConfig["/etc/awstats/awstats.lib.wayne.edu.conf"] = array(
"statspath" => "/global/pub/stats/awstats/awstatsdata/lib/",
"statsname" => "awstats102008.lib.wayne.edu.txt",
"updatepath" => "/global/pub/stats/awstats/wwwroot/cgi-bin/awstats.pl/",
"siteurl" => "http://www.lib.wayne.edu",
"sitename" => "WSU Library",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "en-gb"
);

$aConfig["/etc/awstats/awstats.lib.wayne.edu.conf"] = array(
"statspath" => "/global/pub/stats/awstats/awstatsdata/lib/",
"statsname" => "awstats112008.lib.wayne.edu.txt",
"updatepath" => "/global/pub/stats/awstats/wwwroot/cgi-bin/awstats.pl/",
"siteurl" => "http://www.lib.wayne.edu",
"sitename" => "WSU Library",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "en-gb"
);

$aConfig["/etc/awstats/awstats.lib.wayne.edu.conf"] = array(
"statspath" => "/global/pub/stats/awstats/awstatsdata/lib/",
"statsname" => "awstats122008.lib.wayne.edu.txt",
"updatepath" => "/global/pub/stats/awstats/wwwroot/cgi-bin/awstats.pl/",
"siteurl" => "http://www.lib.wayne.edu",
"sitename" => "WSU Library",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "en-gb"
);

$aConfig["/etc/awstats/awstats.lib.wayne.edu.conf"] = array(
"statspath" => "/global/pub/stats/awstats/awstatsdata/lib/",
"statsname" => "awstats012009.lib.wayne.edu.txt",
"updatepath" => "/global/pub/stats/awstats/wwwroot/cgi-bin/awstats.pl/",
"siteurl" => "http://www.lib.wayne.edu",
"sitename" => "WSU Library",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "en-gb"
);
joncombe
3569 days ago
You don't need a configuration for each month, just one configuration where the "statspath" points to the folder where all your AWStats data lives. JAWStats will work out what months are available automatically.

Try that and let me know how you get on.
pklib
3569 days ago
I am getting an error message without "statsname" line for non-standard awstats filenames. The folder location and config name awstats is correct. But you document suggests to
add "statsname" line.

Here my revised config.php with out "statsname" line that generates the error below.

$aConfig["/etc/awstats/awstats.lib.wayne.edu.conf"] = array(
"statspath" => "/global/pub/stats/awstats/awstatsdata/lib/",
"updatepath" => "/global/pub/stats/awstats/wwwroot/cgi-bin/awstats.pl/",
"siteurl" => "http://www.lib.wayne.edu",
"sitename" => "WSU Library",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "en-gb"
);
****
An error has occured:
JAWStats cannot find any AWStats log files in the specified directory: /global/pub/stats/awstats/awstatsdata/lib/
Is this the correct folder? Is your config name, /etc/awstats/awstats.lib.wayne.edu.conf, correct?

Please refer to the installation instructions for more information.
joncombe
3569 days ago
In your case, wouldn't it be something like:

"statsname" => "awstats[MM][YYYY].lib.wayne.edu.txt",
pklib
3569 days ago
It is working now. Thanks. Very impressing.

« Back To Thread List

Participate in this discussion

 

You must be logged in to post in this thread.

 

Version 0.7 beta available now

Released 25th Janury 2009

Try the online demo or download now.

 
Latest JAWStats News:

Version 0.7 Beta Released

Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.

posted 25th Jan '09. read more »
 

Help JAWStats

Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.

 

Get $50 off your webhosting

You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!