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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Blog error: "Debug (line 118 of BBCodeParser.php)" showing up on page


Go to End


2 Posts   1261 Views

Avatar
li2ng

Community Member, 1 Post

4 July 2008 at 10:41am

Edited: 04/07/2008 10:42am

I came across the same error as the "Blog error" topic posted yesterday. But after sorting that out, I now have a text line appearing at the top of the Blog page (above the template header etc) that shows:

"Debug (line 118 of BBCodeParser.php): ABCD"
where ABCD is the text content of the blog entry.

I've tried adding another blog entry to see what happens. The above Debug line repeats itself, but with the 2nd blog entry's text as well so it now looks like the following at the top of the Blog page:

"Debug (line 118 of BBCodeParser.php): ABCD2"
"Debug (line 118 of BBCodeParser.php): ABCD"

where ABCD2 is the text content of the 2nd blog entry.

Why is this happening? How do I fix it? Thanks!!

Avatar
Willr

Forum Moderator, 5523 Posts

4 July 2008 at 11:52am

Some one (not to name names *cough* svn blame ...) commited some Debug Code in the BBCode Parser - http://open.silverstripe.com/browser/modules/sapphire/tags/2.2.2/parsers/BBCodeParser.php#L118

Pick the problem! Heh the Debug::message($this->content); should be removed of course.