On my .713 site we have a little strange problem with the stats module, it loads perfectly but we can't see any stats about browser or operating system. We can see stats for visitor per hour, week, month and misc but none of the OS or browser.
Can it be som esetting in the server or is it that we have permission settings that only allow registered users to view most of the content of the site?
If it is the server is there some way to check the current settings? I've checked phpinfo but it didn't tell me much so please help me.
Login
Donate to Zikula
Core Modules & Blocks
::
Problem with Stats Module
-
-
I am seeking help with stats also with PN .72. It worked for a while, and then stopped logging new stats. I reloaded the stats module, but no additional logging occurs.
I would really like to see how many hits my new webpage gets. -
Same here, only with 0.714. All of a sudden, since the morning, PostNuke doesn't log the stats any longer.
-
I found the cause of my problem!
Apparently, the way the counter module is written, the stats aren't computed for any user that has been granted at least one EDIT or higher permisson.
The code in includes/counter.php looks like this:
Code
if (!pnSecAuthAction(0, '::', '::', ACCESS_EDIT)) {
// log stats
}
a couple of days ago I installed the postguestbook module and gave all users (including unregistered) the ADD rights (I found out later that I did't have to do this; COMMENT would have been enough). This effectively disabled stats logging. -
dberansky
I found the cause of my problem!
Apparently, the way the counter module is written, the stats aren't computed for any user that has been granted at least one EDIT or higher permisson.
The code in includes/counter.php looks like this:
Code
if (!pnSecAuthAction(0, '::', '::', ACCESS_EDIT)) {
// log stats
}
a couple of days ago I installed the postguestbook module and gave all users (including unregistered) the ADD rights (I found out later that I did't have to do this; COMMENT would have been enough). This effectively disabled stats logging.
I'm affraid I don't understand your fix. Could you clarify what you did to get this working.
Many Thanks In Advance -
PostNuke will not log stats for any user with access rights of ACCESS_EDIT or above. You have to make sure that the rights of your anonymous user (or any user for whom you want to keep stats) do not exceed the 'moderate' level.
