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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

blog error


Reply

2 Posts   964 Views

Avatar
bajwa

3 July 2008 at 12:26pm (Last edited: 3 July 2008 12:27pm), Community Member, 2 Posts

could you help me to fix that error in my blog section

XML Parsing Error: junk after document element
Location: http://localhost/silverstripe-v2.2.2/blog/

Line Number 4, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^

Avatar
Willr

3 July 2008 at 3:30pm Forum Moderator, 5511 Posts

You have got some code outputed before the XML declaration in the template. This is usually the case if you are trying to debug::show something or echo some part of the code.

Try opening up Page.ss and removing the <?xml ?> header