Hello people,
Im stuck with this error, i have superadmin rights but i cant
create a newdoc using velocity or groovy script.
It worked once and then nothing.
<%
pagename = "Main.Page1"
newdoc = xwiki.getDocument(pagename)
newdoc.setContent("")
newdoc.setTitle("Page1")
newdoc.save()
%>
thx for help.
Gerem