Page 1 of 1

Statistics 0.6 is not working.............

Posted: Tue Jan 31, 2006 8:35 am
by askme
Recently I installed statics 0.6, it installed ok. But it is not counting anything. I configured it also via admin acount. At the bottom of the page I see following error.

PHP Notice: Undefined variable: activepage in D:\domains\mysite.com\wwwroot\modules\Statistics\Statistics.module.php on line 264 

when I open Statics.module.php file and checked the line 264. I found following fuction, it is pointing to one of the line in this fuction.

Code: Select all

 switch ($action)
		{
			case "default": {
				if (isset($params["what"])) {
					$what=$params["what"];
				} else {
					$what="";
				}
				if (isset($params["how"])) {
					$how=$params["how"];
				} else {
					$how="dont";
				}
				$value=$this->statExecute($what);

				switch ($how) {
					case "gfx" : //Fallthrough so far
					case "txt" : {
						echo $value;
						break;
					}
					default : break;
				}
				break;
  
It is pointing to line $what="";

Re: Statistics 0.6 is not working.............

Posted: Sun Mar 05, 2006 11:54 pm
by Silmarillion
Hi askme

I just wanted to inform you of you had not seen already, that a very modified and improved version of Statistics has been released, please try it...

Best regards

Morten/Silmarillion

Re: Statistics 0.6 is not working.............

Posted: Mon Mar 06, 2006 4:40 pm
by danielbone1
Just downloaded the new version of Statistics and it is working perfectly. 

Definitley grab the newest version.

I actually didn't realize there was a mod for this already.

Thanks for the hard work.

Dan

Re: Statistics 0.6 is not working.............

Posted: Mon Mar 06, 2006 8:28 pm
by stopsatgreen
I've installed this module, but it doesn't seem to be registering hits! I know I've had over 1,000 visitors to my website today, because my server stats tell me so. But the hit counter is stuck on 4! The Pages counter seems to be working fine, registering all the pages viewed; but everything else is stuck on 4!

When I access the site myself, my hit is recorded. What is going on???

Re: Statistics 0.6 is not working.............

Posted: Tue Mar 07, 2006 10:35 pm
by Silmarillion
hi stopsatgreen

Well, this seems very strange... it works perfectly for some and behaves wierdly for others... at this point I have no idea I'm sorry, but I'm realising that i may have to make some specific debuggin-grabbing for this modules as it is very hard to figure what's making you server act differently than others. I will include some debugging function soon, hopefully we can then figure why it's not working for you.

sil.

Re: Statistics 0.6 is not working.............

Posted: Mon Mar 20, 2006 9:42 am
by numer9
hey guyz,
any progress on stats debugging? cause my stats module seems to behave in a strange way as well. I don't understand what is "summary hitz" all about. When browsing through "pages" it all seems to be normal (the counter is going up) but in summary it's moving so slowly, it's weird...

is there any docs about Statistics module and how it suppose to work?

thanks!

Re: Statistics 0.6 is not working.............

Posted: Mon Mar 20, 2006 10:43 pm
by stopsatgreen
I've only just installed 0.6.1 but already it seems that the problems have been resolved. Thanks!

Re: Statistics 0.6 is not working.............

Posted: Mon Mar 20, 2006 11:12 pm
by numer9
And I'm using latest 0.6.1 on Fiji (CMS MS 0.12)... but polish chars mess it up :(

Re: Statistics 0.6 is not working.............

Posted: Tue Mar 21, 2006 10:10 am
by stopsatgreen
Spoke too soon; it's still not registering hits :(

Re: Statistics 0.6 is not working.............

Posted: Wed Mar 22, 2006 8:36 am
by cyberman
This means there's no module translation for your default language available  ;) ...

Re: Statistics 0.6 is not working.............

Posted: Thu Mar 23, 2006 5:59 am
by cyberman
Perhaps you want to inform the author  ;) ...

Re: Statistics 0.6 is not working.............

Posted: Thu Mar 23, 2006 12:04 pm
by numer9
hey,
i hope author reads this... cause forum is probably most popular way of discussing things about CMS MS, ain't it?

regards,

Re: Statistics 0.6 is not working.............

Posted: Sat Apr 01, 2006 2:55 pm
by davidL
stopsatgreen wrote: Spoke too soon; it's still not registering hits :(
There is definitely something fishy with this module. I have the same problem with hit counts, but I also believe there is something wrong with country logg, OS logg, and Browser logg. I know for instance that people from other countries are accessing my site, but very few have been registered. If I access my site at work from a unix machine (solaris or something) running mozilla browser, neither os nor browser is recorded.

Page counts is the only data that I trust is correct.