Many thanks for your help with this Robin.
The page has now been re-saved by a 'superadmin' with programming rights
at xwiki and is now working. But we are looking at the solution that you
suggest as I am sure we are likely to inadvertently fall into the same
trap again!
Very neat solution, and once again many thanks.
Karen
Robin Fernandes wrote:
  The problem is that XWiki.RegisterNewUser contains a
script with a
 call to protected function. As soon as the page is saved by someone
 without programming rights, it stops working. You'll have to get
 someone with programming rights on 
xwiki.com to re-save the document.
 I think the functionality of XWiki.RegisterNewUser should be separated
 from the form so that people can change the presentation without
 breaking it. It's a really simple change and I think it should be done
 by default on 
xwiki.com, since many people seem to fall into this
 trap.
 I've done it here:
 
http://soal.xwiki.com/xwiki/bin/view/XWiki/CustomRegisterNewUser
 That page is simply a cut&paste of the code in on
 XWiki.RegisterNewUser, except that it does not contain the code for
 handling the form submission: it submits to XWiki.RegisterNewUser
 rather than to itself. That way I'm free to change the form as I
 please without removing programming rights from XWiki.RegisterNewUser,
 where the protected functions are invoked. Of course I would also need
 to change my skin so the header points to my custom registration page.
 Regards,
 Robin.
--  
Karen Blakeman, UKeiG Management Committee
mailto:karen.blakeman@rba.co.uk
t: +44 118 947 2256 f: +44 20 8020 0253 m: +44 7764 936733
88 Star Road, Caversham, Berkshire, RG4 5BE