Here is toplevel menu, retrieved from old still running xwiki, in 
xwiki/bin/edit/XWiki/XWikiPreferences?xpage=editprefs -> presentation -> 
top menu

> <a href="../../view/Main/WebHome">Home</a><span> | </span>
> <!--
> <a href="../../view/Blog/WebHome">Blog</a><span> | </span> <a 
> href="../../view/Main/KnowledgeBase">Knowledge Base</a><span> | </span>
> -->
> <a href="../../view/Main/WhatsNew">What's new</a><span> | </span> <a 
> href="../../view/Main/WebSearch">Search</a><span> | </span> 
> #if($xwiki.hasAdminRights())
> <a href="../../view/XWiki/WebHome">Admin</a><span> | </span> #end
> <a href="../../view/Doc/WebHome">Doc</a><span> | </span>
> <!--
> <a href="../../view/XWiki/RegisterNewUser">Register</a><span> | </span>
> -->

After inspection, it seems upgrade tool converted it to that awfull stuff:

> <a href="$xwiki.getURL("Main.WebHome","view")">Home</a><span> | </span>
> <!--
> <a href="$xwiki.getURL("Blog.WebHome">Blog<a><span> | <.span> <a 
> href="......view.Main.KnowledgeBase","view")">Knowledge Base</a><span> 
> | </span>
> -->
> <a href="$xwiki.getURL("Main.WhatsNew">What's new</a><span> | </span> 
> <a href="......view.Main.WebSearch","view")">Search</a><span> | </span>
> #if($xwiki.hasAdminRights())
> <a href="$xwiki.getURL("XWiki.WebHome","view")">Admin</a><span> | </span>
> #end
> <a href="$xwiki.getURL("Doc.WebHome","view")">Doc</a><span> | </span>
> <!--
> <a 
> href="$xwiki.getURL("XWiki.RegisterNewUser","view")">Register</a><span> 
> | </span>
> -->
See the broken tags and incomplete xwiki rules? I don't know why this 
happened. I hope the upgrading tool did not do that to *all* my documents !


Now we have another problem we try to solve. We followed upgrading rules 
(mysql dump + mysql import on test server, then deploy xwiki and wait 
for it to upgrade documents), but all our utf-8 characters are broken. 
It looks like they got interpreted as ISO-8859 in the middle of process, 
somewhere. Take a look at before (current production wiki 0.9) and after 
(test wiki 1.2):
http://img299.imageshack.us/img299/6695/utf8oh6.png

Both old and upgraded test wiki connect using the useUnicode=true and 
characterEncoding=UTF-8 but somehow upgraded database is broken :/ Any hint?


En l'instant précis du 21/02/08 05:13, Sergiu Dumitriu s'exprimait en 
ces termes:
> David Delbecq wrote:
>
> Try opening <server address>/xwiki/bin/view/XWiki/Menu?xpage=code and 
> <server address>/xwiki/bin/view/XWiki/Toolbar?xpage=code and post the 
> code there.
>
>
> Or try using a new skin. Some of the new features can't be accessed from 
> the old skin.
>
>
>   
>> This errors happens on every page, which document should i post? The one 
>> mentioned in exception? Here it is, but i doubt it's the one at cause:
>>
>>
>>     
>>> 1 Wiki Knowledge Base
>>>
>>> This is the Wiki Knowledge Base, where you can start writing about 
>>> your favorite subjects.
>>>
>>> To create new pages, use brackets around the words you want to create 
>>> links for:
>>>
>>> * [Example Link 1]
>>> * [Example Link 2]
>>>       
>> I'll be glad to post "top menu", if i knew where it's stored...
>>
>> This seems limited to top menu rendering in xwiki, i see part of error 
>> there, complete error (in original mail) was logged in tomcat logs
>>
>> Any help appreciated!
>>
>>
>> En l'instant précis du 19/02/08 17:34, Sergiu Dumitriu s'exprimait en 
>> ces termes:
>>     
>>> Can you post the document content?
>>>
>>>
>>> David Delbecq wrote:
>>>   
>>>       
>>>> Hello,
>>>>
>>>> we get this error in xwiki top menu after importing from 0.9. Can someone 
>>>> explain me how to solve this? thanks!
>>>>
>>>>
>>>>
>>>>
>>>> org.apache.velocity.exception.ParseErrorException: Encountered
>>>> ">Blog<.a><span> | <.span> <a
>>>> href=\"......view.Main.KnowledgeBase\",\"view\")\">Knowledge
>>>> Base</a><span> | </span> \r\n-->\r\n<a href=\"" at line 3, column 38 of
>>>> view.Main
>>>> Was expecting one of:
>>>>     "," ...
>>>>     ")" ...
>>>>     <WHITESPACE> ...
>>>>
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:212)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:60)
>>>>     at
>>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:247)
>>>>     at
>>>> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:150)
>>>>     at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1313)
>>>>     at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:554)
>>>>     at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:585)
>>>>     at
>>>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
>>>>     at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
>>>>     at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:607)
>>>>     at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:585)
>>>>     at
>>>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>>>     at
>>>> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
>>>>     at
>>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
>>>>     at
>>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
>>>>     at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
>>>>     at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
>>>>     at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
>>>>     at
>>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>>>     at
>>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>>>     at
>>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>>>     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>>>     at
>>>> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
>>>>     at
>>>> org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
>>>>     at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
>>>>     at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>     at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>     at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>>>     at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>     at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
>>>>     at
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
>>>>     at
>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
>>>>     at
>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>     at
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>     at java.lang.Thread.run(Thread.java:595)
>>>>
>>>> thanks for suggestions and regards,
>>>>
>>>> David Delbecq
>>>>
>>>>     
>>>>         
>>>   
>>>       
>
>
>   

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to