Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » forum registration errors

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1574 Views
  • tim303
    Avatar
    Community Member
    3 Posts

    forum registration errors Link to this post

    I'm building a CMS that delivers most of its contents only to logged in users, including the forums.

    Using the stable versions of the forum, I was able to use a login href to the ForumMemberProfile/register page. That way all my users basically became forum members with permissions set appropriately.

    Unfortunately the old forum was buggy elsewhere, so I tried upgrading to the new daily build of the forum. That fixed some display issues (e.g. CurrController::deprecated) but now the forum registration at ForumMemberProfile/register is broken. I checked the template that came in the module, but the Header.ss still references this page as how to register forum members.

    Is there another more SS-sanctioned way to accomplish registering all users as forum users?

    Here are the error details:

    FATAL ERROR: Object::__call() Method 'setDisabled' not found in class 'CheckboxField'
    At line 199 in .... public_html/sapphire/core/Object.php

    user_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
    line 199 of Object.php

    Object->__call(setDisabled,Array)

    CheckboxField->setDisabled(1)
    line 8 of CheckableOption.php

    CheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
    line 130 of ForumRole.php

    ForumRole->getForumFields(1,)

    call_user_func_array(Array,Array)
    line 177 of Object.php

    Object->__call(getForumFields,Array)

    Member->getForumFields(1,)
    line 118 of ForumMemberProfile.php

    ForumMemberProfile->RegistrationForm()
    line 100 of ForumMemberProfile.php

    ForumMemberProfile->register(Array)
    line 261 of Controller.php

    Controller->run(Array)
    line 104 of Director.php

    Director::direct(ForumMemberProfile/register)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * this = CheckboxField (UnnecessaryNicknamePublic: : ) = 1
    * methodName =

    setDisabled

    * args =
    o 0 =

    1

    * lowerMethodName =

    setdisabled

  • itlinux
    Avatar
    Community Member
    40 Posts

    Re: forum registration errors Link to this post

    I get this one with the latest forum

    Error

    The website server has not been able to respond to your request.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: forum registration errors Link to this post

    itlinux - put the site into dev mode to get the proper error. You can do this by adding Director::set_environment_type("dev"); to your _config file in the mysite folder

  • itlinux
    Avatar
    Community Member
    40 Posts

    Re: forum registration errors Link to this post

    FATAL ERROR: Object::__call() Method 'setDisabled' not found in class 'CheckboxField'
    At line 199 in /home/httpd/vhosts/controlmanager5.com/silverstripe-v2.2.3/sapphire/core/Object.php

    user_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
    line 199 of Object.php

    Object->__call(setDisabled,Array)

    CheckboxField->setDisabled(1)
    line 8 of CheckableOption.php

    CheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
    line 130 of ForumRole.php

    ForumRole->getForumFields(1,)

    call_user_func_array(Array,Array)
    line 177 of Object.php

    Object->__call(getForumFields,Array)

    Member->getForumFields(1,)
    line 118 of ForumMemberProfile.php

    ForumMemberProfile->RegistrationForm()
    line 100 of ForumMemberProfile.php

    ForumMemberProfile->register(Array)
    line 261 of Controller.php

    Controller->run(Array)
    line 104 of Director.php

    Director::direct(ForumMemberProfile/register)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * this = CheckboxField (UnnecessaryNicknamePublic: : ) = 1
    * methodName =

    setDisabled

    * args =
    o 0 =

    1

    * lowerMethodName =

    setdisabled

    1574 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.