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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

blog error


Go to End


2 Posts   1283 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, 5523 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