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

Problem with SS-v2.2.2 and blog-0.1


Reply


2 Posts   930 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, 5513 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