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.

General Questions

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

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

EntityRef error triggered during tutorial 2 (bad XML?)



Praxis Interactive

22 January 2012 at 6:39pm Community Member, 2 Posts

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 template, but it would be good to track down and fix the root cause.


Colin (Praxis)