[Zope3-dev] RE: [Zope3-Users] unexpected ':' char in declaration
Roger Ineichen
dev at projekt01.ch
Thu Nov 11 08:08:46 EST 2004
Hi, Florian,
Take a look at the root template like described at the error message:
"ERROR root PageTemplateFile: Error in template:"
^^^^
Perhaps you have a error in this template.
Regards
Roger Ineichen
Projekt01 GmbH
www.projekt01.ch
_____________________________
END OF MESSAGE
> -----Original Message-----
> From: zope3-users-bounces at zope.org
> [mailto:zope3-users-bounces at zope.org] On Behalf Of Florian Lindner
> Sent: Thursday, November 11, 2004 10:01 AM
> To: Leeuw van der, Tim
> Cc: zope3-users at zope.org
> Subject: Re: [Zope3-Users] unexpected ':' char in declaration
>
> Leeuw van der, Tim schrieb:
> > Hi Florian,
> >
> > Looking at the error message, I would look at your page
> template file (event.pt), not at the zcml... ?
>
> Here we go:
>
> <html metal:use-macro="context/@@standard_macros/page">
> <body>
> <div id="content" metal:fill-slot="content">
>
> <h2>Event</h2>
> <strong>Titel:</strong> <span
> tal:replace="context/name">Testtitle</span><br />
> <strong>Beschreibung:</strong> <span
> tal:replace="context/description">Testbeschreibung</span><br />
> <strong>Ort:</strong> <span
> tal:replace="context/location">Location</span><br />
> </div>
>
> </body>
> </html>
>
>
> >
> > -----Original Message-----
> > From: zope3-users-bounces at zope.org
> [mailto:zope3-users-bounces at zope.org]On Behalf Of Florian Lindner
> > Sent: Thursday, November 11, 2004 9:51 AM
> > To: zope3-users at zope.org
> > Subject: [Zope3-Users] unexpected ':' char in declaration
> >
> >
> > Hello,
> > I call:
> >
> >
> http://localhost:8080/++skin++centershock/eventfolder/event1/e
> vent.html
> >
> > and this prints out:
> >
> > A system error occurred.
> >
> > In the server log: (please see at the end of the mail)
> >
> > event.html is registered as follows:
> >
> > <page
> > for="CS.interfaces.IEvent"
> > name="event.html"
> > permission="zope.Public"
> > layer="centershock"
> > template="event.pt" />
> >
> >
> > Mmhh, what other information do you need? I really don't
> understand the
> > error and where it occurs.
> > And why does favicon is not found. It think it's provided by the
> > rotterdam layer since my layer is registered as follows:
> >
> > <layer name="centershock" />
> > <skin name="centershock" layers="centershock rotterdam default" />
> >
> > Thanks,
> >
> > Florian
> >
> >
> >
> > 2004-11-11T12:44:24 INFO root Startup time: 1.963 sec real,
> 1.956 sec CPU
> > ------
> > 2004-11-11T12:44:29 ERROR root PageTemplateFile: Error in template:
> > Compilation failed
> > HTMLParser.HTMLParseError: unexpected ':' char in
> declaration, at line
> > 2, column
> > 3
> >
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
More information about the Zope3-dev
mailing list