Page 1 of 1

Problems with Statistics Module

Posted: Wed Mar 30, 2005 3:03 am
by arwecdjc
Hi,

I recently discovered the additional Statistics Module for CMSms. I copied the Statistics directory to the module directory of my CMSms installation and went to Admin - Plugin Management and clicked the Install link behind the Statistics entry. (This is the right way to install a module, isn't it?)

Installation went fine and a Statistics entry appeared in the Module menu. After clicking it, it showed 0 Hits in the summary area, so I accessed my page and looked again: 1 Hit. After some time I accessed my page again, but the summary kept showing 1 Hit. I disconnected and reconnected my Notebook to obtain a new IP, I used another browser and even another computer to access my page but the counter kept showing "1".

After about 3 days the counter keeps showing "1" for total hits. No hits are shown for "Hits today", "Hits this week" and "Hits this month". The "Online Now" function works fine and shows me my IP after accessing my site, so the module seems to work. But I cannot find a reset_database button (where should it be?), although the permissions are set correctly.

The four database tables (module_stat_data, module_stat_data_seq, module_stat_visitors and module_stat_visitors_seq) were created during the installation. I browsed the module_stat_data with phpMyAdmin:
The first line shows me for id 1 count_total, the value 1 and the time it was updated.
For id 2 count_weekday, the value 1 and the same time.
Every time I access my page a new line is added with count_total and the value 2 and the current time (about 8 at the moment).
Is this the expected behaviour?

Any ideas?

arwecdjc

Re: Problems with Statistics Module

Posted: Tue Apr 26, 2005 3:13 pm
by Krol
I get this "error", too. Are we the only people?

Re: Problems with Statistics Module

Posted: Wed Apr 27, 2005 7:58 am
by gnolen
I wouldn't use this statistic module because the information you are getting is very little. I would much rather use a external script that you just have to put a small code in your template...

I useĀ  http://www.php-stats.com/(the english version) which kicks ass on detail and is really userfriendly and easy to install.

Re: Problems with Statistics Module

Posted: Wed Apr 27, 2005 4:21 pm
by Krol
I just want a simple counter that counts the visitors. I thought this module would be right for this job.

Re: Problems with Statistics Module

Posted: Sun Aug 28, 2005 9:16 pm
by arwecdjc
I recently upgraded my CMSMS-0.9.2 Installation with the non-working Statistics-Module 0.4 to CMSMS 0.10 and the Statistics-Module 0.5. After clicking the upgrade link on the modules page and visiting my site, for the first time the counter began to increase.

So I decided to install version 0.5 on a second CMSMS installation without the 0.4 version of the Statistics-Module. The Installation went fine, but after visiting the site several times with different IPs the counter kept showing zero.

I went back to the first working installation, uninstalled the Statistics-Module and installed it again and visited my site several times, but this time, as on the second installation, the counter kept showing zero. It was not working anymore.

Considering that the upgraded version of the statistics module was working fine, but the fresh install isn't, perhaps it is a problem with the initialization of the database table, although it seems that all tables are created.

Any ideas?

Re: Problems with Statistics Module

Posted: Sun Sep 04, 2005 9:11 pm
by arwecdjc
Okay, the new version of the Statistics module 0.5.1 solved my problems. It is working fine now.

Re: Problems with Statistics Module

Posted: Fri Sep 09, 2005 10:54 am
by russo79
I installed the statistics 0.5.1 module from scratch and I have the problem that you mentionned before... my counters stick to one... any ideas?