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.

Forum Module /

Discuss the Forum Module.

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

*Fixed* I can't handle sub-URLs of a FreeHolder Controller object.


Reply


2 Posts   945 Views

Avatar
AdamTomkins

Community Member, 2 Posts

9 November 2009 at 8:07am

Edited: 09/11/2009 9:28am

Hi, I have had the forum working before using the default template, but when I try to use a custom template, i get the following error
"I can't handle sub-URLs of a FreeHolder Controller object."
Its just a blank page which has only that on it.

This only happened when I click on logout and profile - possibly on the login as well but I cant test that as I cant logout! I can still view the forum and browse the topics.

Does anybody have any clues what could have caused this? Thanks.

Actually, i have just realised that happens when i click it twice, when I click logout, tit goes to page:
http://localhost/SilverStripe/forums/ForumMemberProfile/logout/ except that what is being displayed does not change. when clicked on logout again it goes to page
http://localhost/SilverStripe/forums/ForumMemberProfile/logout/ForumMemberProfile/logout/
duplicated part of the URL.

I hope that clarifies the problem more.

Avatar
AdamTomkins

Community Member, 2 Posts

9 November 2009 at 9:29am

There was some information missing from the <Head> section of the template, rectified by pasting in the information from the Head of the Blackcandy template.