On Apr 30, 2009, at 4:14 AM, Dilipkumar Jadhav wrote:

> Hello folks,
> I am sorry to revive an old question I had asked in this forum but I  
> wanted
> to share this with everyone.
> My statistics were not working on XWiki 1.7.2 originally.
> Finally, I figured this out.
>
> The database was MySql ver 4.x.x.
>
> I got this legacy database to work on since XWiki was on testing  
> mode for my
> organization back then. I really did not have any option in the  
> choice of
> the MySql version at that point of time.
> I had almost given up on getting the stats to work. But in the  
> process of
> setting up a test XWiki I installed MySql 5.4.
> And the stats module worked !!!
> Guess, I missed something in the XWiki install guides or maybe the  
> version
> compatibility (for database & app servers) is not mentioned in the  
> install
> guides.

It is, see the database section at
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation and  
click on MySQL.

Thanks for posting back!
-Vincent

>
> My most sincere thanks to Sergiu & Thomas who took the time to  
> answer my
> questions when this thread was active.
> Thank you everyone...
>
> On Mon, Mar 9, 2009 at 4:56 AM, Dilipkumar Jadhav <
> jadhav.dilipku...@gmail.com> 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.sc...@19fd285
>> com.xpn.xwiki.criteria.impl.per...@11ff313
>> com.xpn.xwiki.criteria.impl.ra...@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.
>>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to