17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1405 Views |
-
forum registration errors

27 November 2008 at 8:08pm
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.phpuser_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
line 199 of Object.phpObject->__call(setDisabled,Array)
CheckboxField->setDisabled(1)
line 8 of CheckableOption.phpCheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
line 130 of ForumRole.phpForumRole->getForumFields(1,)
call_user_func_array(Array,Array)
line 177 of Object.phpObject->__call(getForumFields,Array)
Member->getForumFields(1,)
line 118 of ForumMemberProfile.phpForumMemberProfile->RegistrationForm()
line 100 of ForumMemberProfile.phpForumMemberProfile->register(Array)
line 261 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::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
-
Re: forum registration errors

28 November 2008 at 8:27am
I get this one with the latest forum
Error
The website server has not been able to respond to your request.
-
Re: forum registration errors

28 November 2008 at 10:08am
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
-
Re: forum registration errors

28 November 2008 at 10:29am
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.phpuser_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
line 199 of Object.phpObject->__call(setDisabled,Array)
CheckboxField->setDisabled(1)
line 8 of CheckableOption.phpCheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
line 130 of ForumRole.phpForumRole->getForumFields(1,)
call_user_func_array(Array,Array)
line 177 of Object.phpObject->__call(getForumFields,Array)
Member->getForumFields(1,)
line 118 of ForumMemberProfile.phpForumMemberProfile->RegistrationForm()
line 100 of ForumMemberProfile.phpForumMemberProfile->register(Array)
line 261 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::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
| 1405 Views | ||
|
Page:
1
|
Go to Top |



