Forum: Re : JAWstats does not show stats

 

« Back To Thread List

mohanl80
3433 days ago
Dear All,

I have the Awstats configuration file in /etc/awstats/

Configuration file name is : awstats.mysite.conf

I have the data base file in /var/stat/

The awstats data file name is :awstats072009.mysite.txt

I am using the given url to see the Awstats stats :
http://192.168.1.xxx/awstats/awstats.pl?config=mysite

My awstats.pl is located in /usr/local/awstats/wwwroot/cgi-bin/


Now i am testing Jawstats . what i did is

1).I ahve downloded Jawstats and extrated it in /var/www/html/
2). # cp config.dist.php config.php
3). my config.php file looks like this

// core config parameters
$sDefaultLanguage = "en-gb";
$sConfigDefaultView = "thismonth.all";
$bConfigChangeSites = true;
$bConfigUpdateSites = false;
$sUpdateSiteFilename = "xml_update.php";

// individual site configuration
$aConfig["mysite"] = array(
"statspath" => "/var/stat/",
"updatepath" => "/usr/local/awstats/wwwroot/cgi-bin/",
"siteurl" => "http://192.168.1.xxx/awstats/awstats.pl?config=mystate",
"sitename" => "mysite",
"theme" => "default",
"fadespeed" => 250,
"password" => "my-1st-password",
"includes" => "",
"language" => "en-gb"
);


4). I am running Jawstats like that in browser

http://192.168.1.xxx/jawstats/index.php

It loads the Jawstats correctly . But I not getting any stats .I supposed to get the stat of current month. and also it showing me Last updated Tuesday, 30th November 1999 at 00:00 (3520 days ago). A total of 0 visitors (0 unique) this month, an average of 0.0 per day (0.0 unique). like that on top of the Jawstats . I don't know why it is showing like that . some one in the list can take look it and help me please.

Thanks for your time.

Thanks & Rg
Mohan L
mohanl80
3431 days ago
Dear All,

I am having the Awstats data base as XML format. when I am using text format it works fine. but XML format is not working with Jawstats. Any suggestion are appreciate.

Thanks & Rg
Mohan L
Asaf
3431 days ago
I don't think Jawstats currently implements this (not sure).
what is the advantage to use this format ?
los420
3206 days ago
Hi everyone

I have the same problem. I can see the header with the site and update info, but not the stats. Here is what i get at the top of the page:
"Last updated Thursday, 4th March 2010 at 16:55 (42 mins ago) A total of 209,968 visits (149,940 unique) this month, an average of 28,335.3 per day (20,234.5 unique). "

I also get the following javascript error messages:
Error: dtMaxDate is not defined
Source File: http://www.xxx.com/js/mawstats_web.js?200901251254
Line: 4679

Error: oThisMonth[iIndex] is undefined
Source File: http://www.xxx.com/js/mawstats_web.js?200901251254
Line: 1891



Any ideas?

Thanks
wanthalf
1796 days ago
Problem solved. One extra empty line at the end of config.php removed... It invalidated the XML with results being sent to the client and having one empty line at its beginning... before the

« 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!