I have just installed the XWiki Enterprise Manager (XEM) and having
difficulty creating a wiki from a template. I already have a template
created but within the From wiki Template dropdown box it is displaying
$wikimanager.getWikiName($template) instead of the template's wiki name.
If I create a new template the dropdown list just displays another entry
of $wikimanager.getWikiName($template).
When I create a wiki from this template entry I get the following error
summary:
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Invocation of method
'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with sql [] Wrapped Exception: Error number 3301 in
3: Exception while switching to database
$wikimanager.getWikiName($template) Wrapped Exception: Incorrect
database name '$wikimanager.getwikiname($template)' @
WikiManager.CreateNewWiki[25,31?]
<http://wiki.thelearningbusiness.com/xwiki/bin/view/WikiManager/CreateNe
wWiki?action=create&wikiname=test2&XWiki.XWikiServerClass_0_description=
%24wikimanager.getWikiName%28%24template%29&XWiki.XWikiServerClass_0_ser
ver=test2.wiki.thelearningbusiness.com&XWiki.XWikiServerClass_0_owner=XW
iki.Admin&XWiki.XWikiServerClass_0_owner=&XWiki.XWikiServerClass_0_visib
ility=public&XWiki.XWikiServerClass_0_visibility=&XWiki.XWikiServerClass
_0_state=active&XWiki.XWikiServerClass_0_state=&wikitemplate=%24wikimana
ger.getWikiName%28%24template%29&wikipackage=>
Any assistance would be much appreciated
Thanks,
Andy