Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fresh install Blog module gives xml parser error

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1248 Views
  • raamklaza
    Avatar
    Community Member
    182 Posts

    Fresh install Blog module gives xml parser error Link to this post

    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.

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Fresh install Blog module gives xml parser error Link to this post

    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: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.

    1248 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.