Re: [xwiki-users] Stats module configuratio
Dear all, Thank you so much for your prompt response. I've tried to check all the things you have suggested. This is where i stand now: 1. Debug each line of the stats panel I printed out the values at the end of each #set line in the most edited pages panel. This is what i got as a result: com.xpn.xwiki.criteria.impl.Scope@19fd285 com.xpn.xwiki.criteria.impl.Period@11ff313 com.xpn.xwiki.criteria.impl.Range@4348c6 [] The final [] in the fourth line above is the value for $stats 2. The Joda time plugin might be disabled I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF > lib folder 3. "Maybe you have a "statistics" field set to 0 in XWiki.XWikiPreferences (edit in object mode to check)" I went to the XWiki.XwikiPreferences page and checked it in the object mode. Unfortunately, i do not see any "statistics" field in there. Could you please provide me with some exact example that i should look for in this page. I see info about panels & skins et al. But nothing about the statistics field. 4. I read the line in the user guide that says - "When statistics are globally enabled, storage can be enabled/disabled by wiki using the XWikiPreference property "statistics" Is this the same statistics field that we are talking about in point 3 above...If so, i really need some more clarity on looking up XWikipreferences in the object mode. 5. I have disabled the module and enabled it again. But there is still no data being displayed on the panels. All it says is - "No statistics recorded" Please help...thank you friends.
Message: 7 Date: Sun, 8 Mar 2009 10:51:34 +0100 From: Thomas Mortagne <[email protected]> Subject: Re: [xwiki-users] Stats module configuration To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8
Hi,
On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav <[email protected]> wrote:
Hello friends, My wiki has grown considerably now and we are at a phase where we would like to measure and analyze contributors and their contributions. ?I am using XWiki 1.7.2.
I followed the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and set the following in the ?xwiki.cfg file.
xwiki.stats=1 xwiki.stats.default=1
Now, I can see that the stats are being recorded in the database (mysql) tables. However, when i visit the stats home in my wiki all i see is "No statistics have been recorded" for all statistics panels. All the graphs show no activity. Also, i have enabled the stats module about 2 weeks back during which course there has been a lot of activity on the wiki.
Also, the stats seems to work on the XWiki installed on my home pc. However, at my office ?instance of XWiki the stats module does not work. Could it have something to do with the proxy server that we have setup in office.
"No statistics have been recorded" is printed when statistics are disabled so I doubt it has anything to do with proxy (it does not really check if there is something recorded or not, even if nothing was in the database it should generate en empty graph). Maybe you have a "statistics" field set to 0 in XWiki.XWikiPreferences (edit in object mode to check)
Did i miss out on some crucial steps... Any help will be greatly appreciated.
Thank you... _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
------------------------------
Message: 8 Date: Sun, 08 Mar 2009 11:40:58 +0100 From: Sergiu Dumitriu <[email protected]> Subject: Re: [xwiki-users] Stats module configuration To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed
Thomas Mortagne wrote:
Hi,
On Sat, Mar 7, 2009 at 16:59, Dilipkumar Jadhav <[email protected]> wrote:
Hello friends, My wiki has grown considerably now and we are at a phase where we would like to measure and analyze contributors and their contributions. I am using XWiki 1.7.2.
I followed the instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration and set the following in the xwiki.cfg file.
xwiki.stats=1 xwiki.stats.default=1
Now, I can see that the stats are being recorded in the database (mysql) tables. However, when i visit the stats home in my wiki all i see is "No statistics have been recorded" for all statistics panels. All the graphs show no activity. Also, i have enabled the stats module about 2 weeks back during which course there has been a lot of activity on the wiki.
Also, the stats seems to work on the XWiki installed on my home pc. However, at my office instance of XWiki the stats module does not work. Could it have something to do with the proxy server that we have setup in office.
"No statistics have been recorded" is printed when statistics are disabled so I doubt it has anything to do with proxy (it does not really check if there is something recorded or not, even if nothing was in the database it should generate en empty graph). Maybe you have a "statistics" field set to 0 in XWiki.XWikiPreferences (edit in object mode to check)
No Thomas, the message when statistics are disabled is "The statistics module is disabled by default for improved performance. For more details, see ..". This message means that nothing was retrieved from the database.
There might be a problem with another component, the best thing to do is to debug each statement in one of the panels. Take for example the Stats.CurrentMonthActivity document, edit the panel, and after each #set line print the newly set variable, and see which one is wrong. A possible problem is that the jodatime plugin is disabled.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 20, Issue 16 *************************************
Dilipkumar Jadhav wrote:
Dear all, Thank you so much for your prompt response. I've tried to check all the things you have suggested. This is where i stand now:
1. Debug each line of the stats panel I printed out the values at the end of each #set line in the most edited pages panel. This is what i got as a result:
com.xpn.xwiki.criteria.impl.Scope@19fd285 com.xpn.xwiki.criteria.impl.Period@11ff313 com.xpn.xwiki.criteria.impl.Range@4348c6 []
The final [] in the fourth line above is the value for $stats
2. The Joda time plugin might be disabled
I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in my xwiki.cfg properties Also, joda-time-1.4.jar is available in WEB_INF > lib folder
3. "Maybe you have a "statistics" field set to 0 in XWiki.XWikiPreferences (edit in object mode to check)" I went to the XWiki.XwikiPreferences page and checked it in the object mode. Unfortunately, i do not see any "statistics" field in there. Could you please provide me with some exact example that i should look for in this page. I see info about panels & skins et al. But nothing about the statistics field.
4. I read the line in the user guide that says - "When statistics are globally enabled, storage can be enabled/disabled by wiki using the XWikiPreference property "statistics" Is this the same statistics field that we are talking about in point 3 above...If so, i really need some more clarity on looking up XWikipreferences in the object mode.
5. I have disabled the module and enabled it again. But there is still no data being displayed on the panels. All it says is - "No statistics recorded"
Everything seems OK, yet the statistics are not retrieved. What database are you using? Can you check that you do have valid statistics in the database? -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Dilipkumar Jadhav -
Sergiu Dumitriu