941 Posts in 272 Topics by 292 members
Forum Module
SilverStripe Forums » Forum Module » Fatal error: Class 'CheckboxFieldDisabled'
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1044 Views |
-
Fatal error: Class 'CheckboxFieldDisabled'

3 March 2009 at 7:01am Last edited: 3 March 2009 9:49am
When attempting to register with newly installed Forum v 0.1.2 I get the following error:
Fatal error: Class 'CheckboxFieldDisabled' not found in /home/mysite/public_html/mysite/forum-v0.1.2/code/CheckableOption.php on line 8
Help!? Thanks!
-
Re: Fatal error: Class 'CheckboxFieldDisabled'

9 March 2009 at 11:36am Last edited: 9 March 2009 11:53am
Same error noticed here. Took the rc version from Wills post and received this error after deleting the file in code/formfields the registration module reports error: Fatal error: Class 'CheckableOption' not found in /home/*****/domains/*****.nl/public_html/forum/code/ForumRole.php on line 164
but without deleting checkableoption.php you get a sapphire core error that there is a duplicate function.
Sorry, that email address already exists. Please choose another. is another error if file is present. I would like to see if this is in the wish list for the dev development of the new forum.Thus on completing the registration form for the forum module I received an error stating: Website Error
There has been an error
The website server has not been able to respond to your request.How to debug in the new version of SS?
Help!!! Thanks
-
Re: Fatal error: Class 'CheckboxFieldDisabled'

9 March 2009 at 1:37pm
Website Error
There has been an errorIs the standard error message. Put the site into dev mode to see the full blown error. You can put it in dev mode by adding this to your mysite/_config.php file
Director::set_environment_type("dev");
-
Re: Fatal error: Class 'CheckboxFieldDisabled'

9 March 2009 at 8:51pm
Will do this willr. Thanks...i will get back to you on this...
-
Re: Fatal error: Class 'CheckboxFieldDisabled'

9 March 2009 at 9:16pm Last edited: 9 March 2009 9:17pm
When clicking on register this error appeared:
[in dev mode]
Source
278 * @param codeOnly - Returns just the code of the IP instead of array( $CountryCode => $CountryName)
279 */
280 static function ip2country($address, $codeOnly = false) {
281
282 // Detect internal networks - this is us, so we're NZ
283 if(substr($address, 0, 7) == "192.168" || substr($address,0,4) == "127.") {
284 $code = 'NZ';
285 } else {
286 $cmd = 'geoiplookup ' . escapeshellarg($address);
287 exec($cmd, $result, $code);
288 // Note: At time of writing, $result is always zero for this program
289
290 if($code == 127) return false;
291 if($result == false) return false;
292
293 // Always returns one line of code, e.g. :
Trace
Geoip::ip2country(86.95.242.147,1)
Line 324 of Geoip.php
Geoip::visitor_country()
Line 13 of CountryDropdownField.php
CountryDropdownField->__construct(Country,Country)
Line 170 of ForumRole.php
ForumRole->getForumFields(,1)call_user_func_array(Array,Array)
Line 111 of Object.php
Object->__call(getForumFields,Array)Member->getForumFields(,1)
Line 147 of ForumMemberProfile.php
ForumMemberProfile->RegistrationForm()call_user_func_array(Array,Array)
Line 409 of ViewableData.php
ViewableData->XML_val(RegistrationForm,,1)
Line 984 of ViewableData.php
ViewableData_Customised->XML_val(RegistrationForm,,1)
Line 221 of .cache.home.*****.domains.*****.nl.public_html.forum.templates.Layout.ForumMemberProfile_register.ss
include(/tmp/silverstripe-cache-home-*****-domains-*****.nl-public_html/.cache.home.*****.domains.*****.nl.public_html.forum.templates.Layout.ForumMemberProfile_register.ss)
Line 350 of SSViewer.php
SSViewer->process(ViewableData_Customised)
Line 342 of SSViewer.php
SSViewer->process(ViewableData_Customised)
Line 166 of Controller.php
Controller->handleAction(HTTPRequest)
Line 107 of RequestHandler.php
RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
Line 262 of Director.php
Director::handleRequest(HTTPRequest,Session)
Line 106 of Director.php
Director::direct(ForumMemberProfile/register)
Line 115 of main.php
| 1044 Views | ||
|
Page:
1
|
Go to Top |



