[xwiki-users] error 4001 in 4 (newbie)

Obelisco obeliscus at gmail.com
Mon Dec 4 23:02:32 CET 2006


Ok, thanks, but now it doesn't fit.

Do you happen to have the original code for the sidebar?

That should work great for me.



On 12/4/06, jeremi joslin <jeremi at xwiki.com> wrote:
>
> on this line, you remove a part :
> .1 Bienvenido <a href="$mdoc.getURL("><img border="0"
> src="$xwiki.getSkinFile(" alt="Edit Menu" /></a>
>
> it should be :
> 1.1 Bienvenue <a href="$mdoc.getURL("edit")"><img
> src="$xwiki.getSkinFile("editPage.gif")" border="0" alt="Editer le
> Menu" /></a>
>
>
> jeremi
>
> On 12/4/06, Obelisco <obeliscus at gmail.com> wrote:
> > This is the code.
> >
> > deporcali.xwiki.com
> >
> > thanks....
> >
> > ----------------------------------------------
> > <div class="left">
> >
> > #set($mdoc = $xwiki.getDocument("XWiki.Menu"))
> >
> > 1.1 Bienvenido <a href="$mdoc.getURL("><img border="0"
> > src="$xwiki.getSkinFile(" alt="Edit Menu" /></a>
> >
> > Comparte toda la información que tengas sobre nuestro equipo. &iexcl;Su
> > participación es muy importante!
> >
> > </div>
> > <div class="left">
> > 1.1 Índice
> >
> > * [Banco de Conocimientos> Main.KnowledgeBase]
> > * [Álbum de Fotos>Photos.WebHome]
> > * [Documentación>Doc.WebHome]
> > * [Calendario de Eventos>Main.EventCalendar]
> > * [Presentaciones>Main.Presentations]
> >
> > </div>
> > <div class="left">
> >
> > #set($blogcatdoc = $xwiki.getDocument("Blog.Categories"))
> >
> > 1.1 Noticias (<a href="$blogcatdoc.getURL(">Edit Categories</a>)
> >
> > #set($catdoc = $xwiki.getDocument("Blog.Categories "))
> > #foreach($catobj in $catdoc.getObjects("Blog.Categories"))
> > #set($catname = $catdoc.display("name","view",$catobj))
> > #if($catname!="")
> >
> >
> > * [${catname}>Blog.Category ?category=${catname}]
> >
> >
> > #end
> > #end
> >
> > </div>
> > <div class="left">
> > 1.1 Añada una noticia
> >
> > #includeTopic("XWiki.XWikiCommonJavascript")
> >
> > </div>
> >
> >
> >  On 12/4/06, jeremi joslin <jeremi at xwiki.com> wrote:
> > > Hi,
> > >
> > > not so much, the only thing i can tell you is that you have an error
> > > line 5, column 53.
> > >
> > > send the code if you don't find.
> > >
> > > jeremi
> > >
> > > On 12/4/06, Obelisco < obeliscus at gmail.com> wrote:
> > > > Hi, i was trying to edit my menu and I have made a mistake somewhere
> > cause I
> > > > got this in the sidebar...
> > > >
> > > >
> > > >
> > > > Error number 4001 in 4: Error while parsing velocity page
> Main.WebHome
> > > > Wrapped Exception: Encountered "0" at line 5, column 53. Was
> expecting
> > one
> > > > of: "," … ")" … <WHITESPACE> ...
> > > >
> > > > com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
> > parsing
> > > > velocity page Main.WebHome Wrapped Exception: Encountered "0" at
> line 5,
> > > > column 53. Was expecting one of: "," … ")" … <WHITESPACE> ...
> > > >
> > > > at
> > > > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate
> > (XWikiVelocityRenderer.java:152)
> > > > at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.render(
> XWikiVelocityRenderer.java:108)
> > > > at com.xpn.xwiki.render.XWikiRenderingEngine.renderText
> > > > (XWikiRenderingEngine.java :204) at
> > > > com.xpn.xwiki.XWiki.include(XWiki.java:2181) at
> > > > com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
> > > > sun.reflect.GeneratedMethodAccessor100.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:267)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTMethod.execute
> > > > (ASTMethod.java:197) at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTReference.execute(
> ASTReference.java:175)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTReference.render
> > (ASTReference.java:220)
> > > > at
> > org.apache.velocity.runtime.parser.node.ASTBlock.render
> > > > (ASTBlock.java:55) at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
> ASTIfStatement.java:70)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
> :55)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.SimpleNode.render
> > > > (SimpleNode.java:230) at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTIfStatement.render
> > (ASTIfStatement.java:89)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.SimpleNode.render(
> SimpleNode.java:230)
> > > > at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate
> > > > (XWikiVelocityRenderer.java :244) at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
> XWikiVelocityRenderer.java:146)
> > > > at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:985) at
> > > > com.xpn.xwiki.web.Utils.parseTemplate(Utils.java :98)
> > at
> > > >
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
> > > > at
> > > >
> > org.apache.struts.action.RequestProcessor.processActionPerform(
> RequestProcessor.java:421)
> > > > at
> > > > org.apache.struts.action.RequestProcessor.process
> > (RequestProcessor.java
> > > > :226) at
> > > >
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> > > > at
> > > >
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> > > > 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
> > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
> > > > (SetCharacterEncodingFilter.java :127) at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
> > > > at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java
> > > > :173) at
> > > >
> > org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
> > > > at
> > > >
> > org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
> > > > at org.apache.catalina.core.StandardHostValve.invoke
> > > > (StandardHostValve.java:126) at
> > > >
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
> > > > at
> > > >
> > org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java
> > :107)
> > > > at org.apache.catalina.connector.CoyoteAdapter.service
> > > > (CoyoteAdapter.java:148) at
> > > >
> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> > > > at
> > > > org.apache.jk.common.HandlerRequest.invoke
> > (HandlerRequest.java:282)
> > > > at
> > > >
> > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
> > > > :754) at
> > > >
> > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java
> :684)
> > > > at
> > > >
> > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> ChannelSocket.java:876)
> > > > at
> > > >
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> > > > (ThreadPool.java:684) at java.lang.Thread.run (Thread.java:595)
> > > >
> > > > Wrapped Exception:
> > > >
> > > > org.apache.velocity.exception.ParseErrorException:
> > > > Encountered "0" at line 5, column 53. Was expecting one of: "," …
> ")" …
> > > > <WHITESPACE> ...
> > > >
> > > > at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
> XWikiVelocityRenderer.java:214)
> > > > at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
> XWikiVelocityRenderer.java
> > :146)
> > > > at com.xpn.xwiki.render.XWikiVelocityRenderer.render
> > > > (XWikiVelocityRenderer.java:108) at
> > > >
> > com.xpn.xwiki.render.XWikiRenderingEngine.renderText(
> XWikiRenderingEngine.java:204)
> > > > at com.xpn.xwiki.XWiki.include (XWiki.java:2181) at
> > > > com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
> > > > sun.reflect.GeneratedMethodAccessor100.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:267) at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
> :197)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTReference.execute(
> ASTReference.java:175)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTReference.render
> > > > (ASTReference.java:220) at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
> :55)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
> ASTIfStatement.java:70)
> > > > at
> > org.apache.velocity.runtime.parser.node.ASTBlock.render
> > > > (ASTBlock.java:55) at
> > > >
> > org.apache.velocity.runtime.parser.node.SimpleNode.render(
> SimpleNode.java:230)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.ASTIfStatement.render
> > (ASTIfStatement.java:89)
> > > > at
> > > >
> > org.apache.velocity.runtime.parser.node.SimpleNode.render
> > > > (SimpleNode.java:230) at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
> XWikiVelocityRenderer.java
> > :244)
> > > > at
> > > >
> > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
> XWikiVelocityRenderer.java:146)
> > > > at com.xpn.xwiki.XWiki.parseTemplate (XWiki.java:985)
> > at
> > > > com.xpn.xwiki.web.Utils.parseTemplate(Utils.java :98)
> > at
> > > >
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
> > > > at
> > > >
> > org.apache.struts.action.RequestProcessor.processActionPerform(
> RequestProcessor.java
> > > > :421) at
> > > > org.apache.struts.action.RequestProcessor.process
> > (RequestProcessor.java:226)
> > > > at
> > > >
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> > > > at
> > > >
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
> > > > :397) 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
> > > >
> > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
> SetCharacterEncodingFilter.java
> > :127)
> > > > at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > > (ApplicationFilterChain.java:202) at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java
> > :173)
> > > > at
> > > >
> > org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
> > > > at org.apache.catalina.core.StandardContextValve.invoke
> > > > (StandardContextValve.java:178) at
> > > >
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
> > > > at
> > > >
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
> > > > at org.apache.catalina.core.StandardEngineValve.invoke
> > > > (StandardEngineValve.java:107) at
> > > >
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :148)
> > > > at
> > > >
> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> > > > at org.apache.jk.common.HandlerRequest.invoke
> > > > (HandlerRequest.java:282) at
> > > >
> > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
> > > > at
> > > > org.apache.jk.common.ChannelSocket.processConnection
> > (ChannelSocket.java:684)
> > > > at
> > > >
> > org.apache.jk.common.ChannelSocket$SocketConnection.runIt
> > > > (ChannelSocket.java:876) at
> > > >
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java
> > :684)
> > > > at java.lang.Thread.run(
> > > >
> > > > WHAT IS THIS, CAN YOU GUYS PLEASE HELP ME FIX IT?
> > > >
> > > > THANKS.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the
> > xwiki-users at objectweb.org
> > > > mailing list.
> > > > To unsubscribe:
> > > > mailto:xwiki-users-unsubscribe at objectweb.org
> > > > For general help: mailto:sympa at objectweb.org?subject=help
> > > > ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > jeremi
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the
> xwiki-users at objectweb.org
> > mailing list.
> > > To unsubscribe: mailto:
> > xwiki-users-unsubscribe at objectweb.org
> > > For general help: mailto:sympa at objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> > >
> > >
> > >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
> xwiki-users at objectweb.org
> > mailing list.
> > To unsubscribe:
> > mailto:xwiki-users-unsubscribe at objectweb.org
> > For general help: mailto:sympa at objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> jeremi
>
>
> --
> You receive this message as a subscriber of the xwiki-users at objectweb.orgmailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20061204/3c68272c/attachment-0001.htm 


More information about the users mailing list