Sergiu Dumitriu-2 wrote:
>
> DarthOps wrote:
>> Thanks for your suggestions, I agree that it looks related to my other
>> problem, the only thing is, I have managed to sort out the other problem
>> (with my watchlists) but this one hasn't been resolved by the fix, I have
>> no
>> idea what could be causing this
>>
>>
>>
>> Kevin_C wrote:
>>> This looks like it is related to your other message. I'd guess that the
>>> exceptions you are getting are the reason the variables aren't getting
>>> replaced. Just from what you've posted I'd say:
>>>
>>> $xwiki.getDocument("XWiki.AccountValidation")
>>>
>>> Is returning either a null or nothing, which is causing the NPE in
>>> getExternalURL. Now, the question is do you get the error because of
>>> permissions or have you maybe not installed something you need for this
>>> capability? I'm just hypothesizing as I am extremely new to XWiki myself
>>> but I thought I'd reply because it might give you someplace to start
>>> looking!
>
> Indeed, this looks like a permission error. Can guests see that
> document? (XWiki.AccountValidation)
>
>
I've set the XWiki.AccountValidation so that it can be read by the
XWikiAllGroup and also the XWikiAdminGroup but it doesn't seem to make any
difference, I still get this message when I recieve the email:
Subject: Validate your account on $wikiname
Hello tom tom,
This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
--
View this message in context:
http://n2.nabble.com/Registration-Email-Error-tp2151197p2186036.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users