17487 Posts in 4473 Topics by 1978 members
|Go to End|
8 November 2008 at 8:00am
I download and unzipped the blog module in root of my silverstripe installation.
I did db/build and ?flush=1.
Page type is set correct for holder and entry.
When i go to the blog in my menu on the front-end, i get the following error:
XML-parsefout: troep na documentelement
Regelnummer 4, kolom 1:<?xml version="1.0" encoding="UTF-8"?>
I know it's in dutch but i hope that someone can help me.
8 November 2008 at 8:05am
I forgot that i asked this a while a go.
Here is the answer and the conclusion:
Re: XML-parse failure when opening blog on website
23 July 2008 at 5:49pm
Theres a major bug with the BBCode parser - a Debug::message statement got in there some how. So what its doing since the blog uses BBCode it is using the parser so calling that Debug::message is outputing text before the doctype
You can remove the Debug::message by opening sapphire/parsers/BBCodeParser.php and scrolling down to about line 118 and removing the Debug::message line.
I did the solution above and it is fixed and it works now.
|Go to Top|