[xwiki-users] Statistics
Hello everyone, I've activated the statistics on my virtual xwikis, but when I access the page XWiki/Stats I see the code, but not statistics, as this: <% period = request.get("period") Calendar cal = Calendar.getInstance(); cal.setTime(new Date()); if (period==null) { period = cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) } jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) * 100 + (cal.get(Calendar.DAY_OF_MONTH)+1) type = request.get("type") if (type==null) type = "view" %> In the xwiki.cfg, this is the section related to statistics: xwiki.stats=1 xwiki.stats.default=1 xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl Any help? Thanks! Vito -- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hi Vito, 2 things: 1) When statistics are enable you'll need to view pages, edit, etc from that point forward to get stats 2) We're releasing a brand new statistics module for XE 1.2RC1 (to be out at the end of the week). It's much improved. Thanks -Vincent On Nov 28, 2007, at 7:51 AM, Vitantonio Messa wrote:
Hello everyone,
I've activated the statistics on my virtual xwikis, but when I access the page XWiki/Stats I see the code, but not statistics, as this:
<% period = request.get("period") Calendar cal = Calendar.getInstance(); cal.setTime(new Date()); if (period==null) { period = cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) }
jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) * 100 + (cal.get(Calendar.DAY_OF_MONTH)+1)
type = request.get("type") if (type==null) type = "view"
%>
In the xwiki.cfg, this is the section related to statistics:
xwiki.stats=1 xwiki.stats.default=1 xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
Any help? Thanks!
Vito
Vincent Massol wrote:
Hi Vito,
2 things:
1) When statistics are enable you'll need to view pages, edit, etc from that point forward to get stats 2) We're releasing a brand new statistics module for XE 1.2RC1 (to be out at the end of the week). It's much improved.
Thanks Vincent, one question more: do I need to restart the server (since I modified the xwiki.cfg) to really enable statistic? or it is enough to just modify the configuration file? Vito -- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
On Nov 28, 2007, at 8:19 AM, Vitantonio Messa wrote:
Vincent Massol wrote:
Hi Vito,
2 things:
1) When statistics are enable you'll need to view pages, edit, etc from that point forward to get stats 2) We're releasing a brand new statistics module for XE 1.2RC1 (to be out at the end of the week). It's much improved.
Thanks Vincent,
one question more: do I need to restart the server (since I modified the xwiki.cfg) to really enable statistic? or it is enough to just modify the configuration file?
You need to restart I think since the xwiki.cfg file is read only at startup. -Vincent
That's because the author of that page is not an admin. More detailed, the page must be saved using a global account (like xwiki:XWiki.Admin) which has programming rights enabled. Sergiu Vitantonio Messa wrote:
Hello everyone,
I've activated the statistics on my virtual xwikis, but when I access the page XWiki/Stats I see the code, but not statistics, as this:
<% period = request.get("period") Calendar cal = Calendar.getInstance(); cal.setTime(new Date()); if (period==null) { period = cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) }
jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) * 100 + (cal.get(Calendar.DAY_OF_MONTH)+1)
type = request.get("type") if (type==null) type = "view"
%>
In the xwiki.cfg, this is the section related to statistics:
xwiki.stats=1 xwiki.stats.default=1 xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
Any help? Thanks!
Vito
Hi Sergiu, I have a problem in XWiki 4.2M1 in statistics home page. The stats data is coming properly but the "Current Month Activity" chart is not coming properly. Only horizontal line is coming. Also the same thing is happening for all charts in the activity statistics page. Any help would be greatly appreciated. Thanks, Sanjib -- View this message in context: http://xwiki.475771.n2.nabble.com/Statistics-tp507134p7582495.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
sanjib -
Sergiu Dumitriu -
Vincent Massol -
Vitantonio Messa