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:

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   1200 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