AFAIK I've not actually changed the RegisterNewUser document. I've taken a machete to some of the other templates as part of a radical GUI redesign, but I left these alone. May try cut-and-paste from the working site. Nothing tremendously suspicious in the log - certainly no SQL exceptions. Have bumped up the log level for XWikiRightServiceImpl to debug in order to try and figure out what is happening; the two instances seem to behave completely differently; for example, the secondary xwiki checks for a specific 'register' access right (which is denied): 18:22:00,908 INFO http-8080-Processor23 http:// schoolmaze.iquality.co.uk:8080/xwiki/bin/view/XWiki/RegisterNewUser? template=XWiki.XWikiUserTemplate®ister=1&password=% 24password®ister_first_name=aaa®ister_last_name=bbb&xwikiname=AaaB bb®ister_email=aaa®ister_password=aaa®ister2_password=aaa®is ter_company=®ister_city=®ister_country=®ister_blog=®ister_bl ogfeed=®ister_comment= XWikiRightServiceImpl:logDeny:52 - Access has been denied for (XWiki.XWikiGuest,XWiki.XWikiPreferences,register): register level (no right found) Whereas the version that actually works never seems to even ask for this access right. Confused. Jon On 10 Oct 2006, at 18:34, Robin Fernandes wrote:
Frank, Are you sure you have the same problem? By this I mean: 1. Are you also not on the wiki farm? 2. Have you also already tried saving RegisterNewUser with a user with programming rights? (if you're on the farm you'll have to ask an admin to do it for you).
Jonathan, I guess you have already tried reverting RegisterNewUser to its original content, i.e. you are not using a modified registration script? Is there anything in your xwiki.log that could provide any clues? I have had problems creating users in the past when I was using a corrupt db image; the log was full of SQL exceptions.
Regards, Robin
On 10/10/06, Frank Häfemeier <[email protected]> wrote:
Hi,
you are faster:-) I have exact the same problem.
Hi,
My user registration screen is broken and returns a -1 error whenever I try to register a new user.
It is on my own xwiki server, not on the farm. I've tried enabling the superadmin user, editing, and re-saving the RegisterNewUser document but I still get the same problem.
I have two wikis running on this server, with 'virtual' switched on in xwiki.cfg; the registration works fine in the default wiki but not in the new one I have created.
I'm an utter newbie to xwiki so it's possible I'm missing something obvious... if someone could post step-by-step instructions as to what is normally done to solve this problem, I'd be grateful.
Many thanks Jonathan Essex.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http:// www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http:// www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws