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.

All other Modules /

Discuss all other Modules here.

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

Problem with the tutorial


Go to End


2 Posts   669 Views

Avatar
wake2010

Community Member, 9 Posts

3 January 2012 at 2:33pm

hi first off superb application, however, i am having a problem showing questions on the tutorial when i add $PageComments to my ArticlePage.ss and flush i get this error when i view the artical

XML Parsing Error: not well-formed
Location: http://localhost/news/advancetech-gets-a-site-make-over/?stage=Stage
Line Number 100, Column 102:
<p id="DeleteComments"><a href="http://localhost/PageComment/deleteallcomments?pageid=32&SecurityID=(this is where the error points to)3a35cfed21280381a56b85a2394c37faa625c012">
any help would be fantastic, FYI im using xampp to develop the site before i upload it to my live site

thanks

Avatar
wake2010

Community Member, 9 Posts

3 January 2012 at 2:59pm

This is the contents of my ArticlePage.ss

<% include menu2 %>
 
<div id="Content" class="typography">
    <% include Breadcrumbs %>
             
    <h1>$Title</h1>
    $Content
    <div class="newsDetails">
        Posted on $Date.Nice by $Author
    </div>
	$PageComments
</div>