Re: [xwiki-users] Stats module configuration

2009-04-30 Thread Vincent Massol

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


Re: [xwiki-users] [myxwiki] new wiki request

2009-04-30 Thread Jerome Velociter
Sergiu Dumitriu wrote:
 Frantisek Kall wrote:
 Hello Jerome,
 I understand MyXWiki.org is for non-profit organizations and individuals. I
 regularly download new (windows) versions and test them locally. Sometime
 system doesn’t function properly and I´m not sure if problem is in my
 installation or in system in general. So I´m looking for place, where I can
 test functionality and by sure that XWiki server is configured well. 
 Playground (http://playground.xwiki.org/xwiki/bin/view/Main/ ) would be
 enough, but there is no latest version usually. Recommend me how  I should
 do it, please. 

 Should we have a playground on the myxwiki farm, too?

Yes, why not.
There would be 2 things to keep in mind for people test-driving XWiki 
using it:
- we update the farm to development milestones (and sometimes even 
snapshots - it happened), so it's not latest stable version, it's 
really latest. (This means instabilities, though we try to avoid them 
can occur)
- as a consequence, features will be exposed for which no stable release 
exist yet. So the test drive will not be 100% the reflect of what can be 
installed by an organization in a production environment.

If we make that clear (on the home page for example), I don't see any 
issue creating a playground on myxwiki.

Jerome.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP users authentication

2009-04-30 Thread PERINAUD Christophe
Hi Sergiu,

The link that is displayed is :
http://IPaddr:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=leMZxkWI 

I try to give you all information :
My virtual Wiki has a space called PVCS. There is special rights handeling in 
it :
- In the users tab, i changed nothing
- In the groups tab, i gave the green check to all functions for a group called 
PVCSAdmin, i changed nothing for the XWikiAdminGroup and for XWikiAllGroup i 
gave the access (green check) to View and Comment only (other function have the 
red stop sign)

If i go to the WebHome page of the space without login, it opens the previous 
given link. Once logged, i can see my page.

FYI, the link to the virtual wiki login page is : 
http://IPaddr:8080/xwiki/wiki/technicalwiki/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2FIPaddr%3A8080%2Fxwiki%2Fwiki%2Ftechnicalwiki%2Fview%2FMain%2F

Hope it helps

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Sergiu Dumitriu
Envoyé : lundi 27 avril 2009 17:06
À : XWiki Users
Objet : Re: [xwiki-users] LDAP users authentication

PERINAUD Christophe wrote:
 Hi,
 
 No, there's no reason for this. A possible explanation:

 - The link followed was somehow wrong, pointing to a non-existing
 wiki.
 
 Given to another user (that has already connect in), the link works

I'm not saying that the link is wrong, but that it got wrong somewhere 
in the process: bad copy/paste in the mail, bad copy/paste in the 
browser, etc.

 - This normally redirects to the main wiki to a page explaining that 
  this wiki does not exist.
 
 The wiki exists. After login the message is that the user has no right
 to view the page

Can you tell me what was the name of the page that was displayed to the 
user? The one from the main wiki.

  - The administration menu could only appear if the rights on your
 main 
 wiki are wrongly set. I'd advise you revise your rights, since this is
 a 
 potential security issue.
 
 But in this case why after deleting local profile on the main wiki and
 asking the user to connect on the virtual wiki, everything goes fine
 (able to see and no admin rights) ? I did not change rights before
 deleting.

This is normal behavior. Connecting to a local wiki is just that, 
connecting to a local wiki, there's no relation to the main wiki and its 
rights. The fact that the first time the user ended up on the main wiki 
is an exceptional case, which must be investigated. Ignore the normal 
behavior, it is working fine. Debug the main wiki rights issue.

 I checked the rights space and the rights page and there is no
 restriction. On the main wiki, only unregistered users have restriction
 (no edition)

There's no reason why visiting a local wiki should redirect to the 
global one, except the one that I stated above. Try logging in on the 
main wiki, to see what's happening. Try using that user's account on 
both the global and local wiki.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-04-30 Thread jerem

Hi,

I migrated the binaries from 1.5 to 1.8.2 (I'm on linux redhad / tomcat 5.5
/ mysql 5).

When importing default xar, most of the pages fail to be imported. Logs show
these kind of messages :
ERROR packaging.Package   - Failed to save document
Stats.WebHome

In some cases, it fails on delete of existing pages.

As I had many errors I removed the activity stream plugin temporarily. As it
was too resource consuming, I also removed lucene to avoid full indexing at
startup. Errors on import were the same with or without these plugins.

I really don't know what I missed ... If anyone has a clue, thanks.

Best regards,
Jeremie
-- 
View this message in context: 
http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.xar-not-working-tp2747103p2747103.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-04-30 Thread jerem

In fact, to be complete, it seems I have many problems with my new migrated
wiki ...

For example, if I modify and save the xwiki preferences page, I get this :
 Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was
already associated with the session: [com.xpn.xwiki.doc.XWikiLock#104408758]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock

I think something went wrong at first and just puts everything in a bad
state ...

-- 
View this message in context: 
http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.xar-not-working-tp2747103p2747166.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Links, WYSIWYG 2.0 (1.8.2)

2009-04-30 Thread hel-o

Hi,


Anca Paula Luca wrote:
 
 
 Hi Hel,
 
 thanks for reporting this behaviour!
 
 Of what I experimented just now, this seems to be caused by the REST API
 (used 
 by the tree) for getting pages and the way it uses the passed parent 
 parameter. Specifically, it does not interpret the value of the document
 parent 
 field wrt the document's space.
 
 I see 2 solutions:
 1/ either we change the panel to set the parent field to a fully qualified
 name 
 (when a user inserts only a document name in the parent field, we append
 the space)
 2/ either we fix the REST API.
 
 Solution 1 might cause problems when it will come to multiwikis, when the
 parent 
 can be prefixed by the wiki name as well (wiki:Space.Page).
 
 Or:
 3/ we change the parent-child relation in the explorer tree so that we
 make it 
 survive such situations.
 
 
 Happy coding,
 Anca Luca
 
 

Shouldn't there be a general concept for that in XWiki, wether its okay when
you only use Page in links or that Wiki:Space.Page is the only way thats
accepted?

Don't know but it seems to me that this example shows there could be a bunch
of problems if different syntax is allowed.

hel.


-
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Links%2C-WYSIWYG-2.0-%281.8.2%29-tp2733494p2747791.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Original translation

2009-04-30 Thread Gerritjan Koekkoek
HI,

I have a page that should be readable for multiple translations.
Currently it has a translation 'en' (for english) which is the default  
for the xwiki.
The problem is that it also claims that the original version is  
'.' (this page is empty)

1) How can such a 'original' version have been created? (to prevent it)
2) How can I remove this version, so the 'en' version is seen as the  
original
3) Or is the '.' original 'good' behaviour?

Gerritjan Koekkoek
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users