17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1083 Views |
-
Fresh install Blog module gives xml parser error

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
Locatie: http://localhost/1-Ontwikkeling/silverstripe-v2.2.2/blog/
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.
-
Re: Fresh install Blog module gives xml parser error

8 November 2008 at 8:05am
CLOSED
I forgot that i asked this a while a go.
Here is the answer and the conclusion:
http://www.silverstripe.com/site-builders-forum/flat/127308?showPost=218851
Re: XML-parse failure when opening blog on website
23 July 2008 at 5:49pmTheres 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.
| 1083 Views | ||
|
Page:
1
|
Go to Top |

