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   995 Views

Avatar
bajwa

Community Member, 2 Posts

3 July 2008 at 12:26pm

Edited: 03/07/2008 12:27pm

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

Forum Moderator, 5513 Posts

3 July 2008 at 3:30pm

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