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

Problem with SS-v2.2.2 and blog-0.1


Go to End


2 Posts   1072 Views

Avatar
windy

Community Member, 3 Posts

6 August 2008 at 5:56am

Edited: 06/08/2008 5:58am

Help Please,

Having installed SS-v2.2.2 successfully, I the install blog-0.1 the blog will not work and posts the following msg :-

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"?>
^
A screen shot is included. How do I solve this problem?

Avatar
Willr

Forum Moderator, 5523 Posts

6 August 2008 at 12:53pm

Notice the debug statement on line 2. This was a bug with 2.2.2 (debug code left inside a class) so open up BBCodeParser.php (sapphire/parsers/BBCodeParser.php) and see on line about 118 there is a Debug::message() command that shouldnt be there. Remove this then refresh the page