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, Ed, biapar, Willr, Ingo, swaiba

Strange comments behaviour.

Go to End

3 Posts   1170 Views


Community Member, 50 Posts

14 August 2009 at 6:06am

Hello there.
Get strange comments data attached to comments metadata, look at screenshot.
And after adding comment - page redirects to new one, with comment id in URL,
and this redirection cuts whole page, until this comment, why so?
You may try how this happens by yourself here ->
try to post comments and look how redirection happens.

Need advice. Thank you.

Attached Files

Forum Moderator, 5523 Posts

14 August 2009 at 3:29pm

Because you have spam protection enabled ajax commenting is disabled. This is why you are seeing a redirect.

The system is designed so after you post a comment you are redirected back down to your comment so you can make sure it has been added correctly. You can see where this redirect takes place by looking in the PageCommentInterface.php class - about line 300 it redirects to the given ID


Community Member, 50 Posts

14 August 2009 at 8:54pm

Edited: 14/08/2009 8:56pm

Thank you, Willr.

What about strange numbers near comments date?

Posted by Dmitry, 14/08/2009 5:12am (6.000000e+0r siden)

And i still dont understand how it is possible to cut page content while linking to specified id.
Did you saw it?