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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   498 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>