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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

EntityRef error triggered during tutorial 2 (bad XML?)


Go to End


1593 Views

Avatar
Praxis Interactive

Community Member, 3 Posts

22 January 2012 at 6:39pm

Hi all,

I'm really enjoying going through these tutorials, but when I completed the "Allowing comments on news articles" section of the tutorial, after pasting $PageComments into the template, I receive:

This page contains the following errors:
error on line 116 at column 101: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

I can fix it by removing the XML header from the top of the Page.ss template, but it would be good to track down and fix the root cause.

Cheers,

Colin (Praxis)