Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

XML Parsing Error: not well-formed in Blog Module


Go to End


5 Posts   3742 Views

Avatar
marc79

Community Member, 65 Posts

7 June 2011 at 8:38am

Hello,

I have just installed a fresh copy of the blog module. Created a blog and my first entry but when trying to "Read the full post" i get the below error message.

XML Parsing Error: not well-formed
Location: http://localhost/mysite/blog/a-week-in-wales/
Line Number 134, Column 112: <p id="DeleteComments"><a href="http://localhost/mysite/PageComment/deleteallcomments?pageid=29&SecurityID=e9598ba59f5ecd022fb95a9d65a8333f17f43e51">

I have searched and can't find where to amend this code. Can anyone suggest where I might look to find this line of code?

Thanks

Marc

Avatar
Willr

Forum Moderator, 5523 Posts

7 June 2011 at 3:32pm

This is an issue with the themes that use xml rather than xhtml/text or html. See http://open.silverstripe.org/ticket/6610 for the solution.

Avatar
marc79

Community Member, 65 Posts

8 June 2011 at 12:48am

Thanks Willr, that sorted it.

Avatar
silver_tich

Community Member, 2 Posts

8 December 2011 at 3:00am

Any idea what this fix was as the link (http://open.silverstripe.org/ticket/6610) is dead.
Thanks

Avatar
silver_tich

Community Member, 2 Posts

8 December 2011 at 4:35am

Its ok, sorted it... It was an XML error with the &, I removed the <?xml ?> header from the top of Page.ss and it was all good.