Problems with Statistics Module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
arwecdjc

Problems with Statistics Module

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

Re: Problems with Statistics Module

Post by Krol »

I get this "error", too. Are we the only people?
gnolen

Re: Problems with Statistics Module

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

Re: Problems with Statistics Module

Post by Krol »

I just want a simple counter that counts the visitors. I thought this module would be right for this job.
arwecdjc

Re: Problems with Statistics Module

Post 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?
arwecdjc

Re: Problems with Statistics Module

Post by arwecdjc »

Okay, the new version of the Statistics module 0.5.1 solved my problems. It is working fine now.
russo79

Re: Problems with Statistics Module

Post 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?
Locked

Return to “CMSMS Core”