Statistics 0.6 is not working............. Topic is solved

General project discussion. NOT for help questions.
Post Reply
askme

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

Post 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="";
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

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

Post 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
danielbone1

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

Post 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
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

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

Post 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???
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

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

Post 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.
numer9

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

Post 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!
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

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

Post by stopsatgreen »

I've only just installed 0.6.1 but already it seems that the problems have been resolved. Thanks!
numer9

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

Post by numer9 »

And I'm using latest 0.6.1 on Fiji (CMS MS 0.12)... but polish chars mess it up :(
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

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

Post by stopsatgreen »

Spoke too soon; it's still not registering hits :(
cyberman

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

Post by cyberman »

This means there's no module translation for your default language available  ;) ...
cyberman

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

Post by cyberman »

Perhaps you want to inform the author  ;) ...
numer9

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

Post 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,
davidL

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

Post 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.
Post Reply

Return to “General Discussion”