I have tried to put reCapthcha into a membership form. If I select the form on the Forms Manager page and click the reCaptcha Verification plugin I get message
Configure
Fatal error: Undefined class name 'self' in /hermes/bosweb/web029/b296/ipw.lowermil/public_html/administrator/components/com_chronocontact/helpers/plugin.php on line 101
Your ReCaptcha keys
If I try previous instructions on forum from Bob, when the page starts loading, it load up to the cod and then stops with message
Fatal error: Cannot redeclare class recaptcharesponse in /hermes/bosweb/web029/b296/ipw.lowermil/public_html/components/com_chronocontact/chrono_recaptchalib.php on line 138
Can anyone help?
Configure
Fatal error: Undefined class name 'self' in /hermes/bosweb/web029/b296/ipw.lowermil/public_html/administrator/components/com_chronocontact/helpers/plugin.php on line 101
Your ReCaptcha keys
If I try previous instructions on forum from Bob, when the page starts loading, it load up to the cod and then stops with message
Fatal error: Cannot redeclare class recaptcharesponse in /hermes/bosweb/web029/b296/ipw.lowermil/public_html/components/com_chronocontact/chrono_recaptchalib.php on line 138
Can anyone help?
Hi edmat,
I wonder . . . which PHP version is your site running under? Perhaps 'self' isn't defined in PHP4??
If that is the problem I'll need to scratch my head a bit more.
Bob
I wonder . . . which PHP version is your site running under? Perhaps 'self' isn't defined in PHP4??
If that is the problem I'll need to scratch my head a bit more.
Bob
Hi edamt,
I'm not sure what the problem is. I'm running ChronoForms RC5,0 and PHP 5.2 and I don't see either of these problems.
'self::' is the standard PHP code to call a method in the same class.
You don't need the chrono_recaptchalib.php file with the plugin - all of that code is now contained in the plugin file. If you are trying to use both methods at the same time that will give conflicts.
To use the plugin, remove the chrono_recaptchalib.php file and remove any recaptcha php you have added to your form html apart from {ReCaptcha}
Bob
I'm not sure what the problem is. I'm running ChronoForms RC5,0 and PHP 5.2 and I don't see either of these problems.
'self::' is the standard PHP code to call a method in the same class.
You don't need the chrono_recaptchalib.php file with the plugin - all of that code is now contained in the plugin file. If you are trying to use both methods at the same time that will give conflicts.
To use the plugin, remove the chrono_recaptchalib.php file and remove any recaptcha php you have added to your form html apart from {ReCaptcha}
Bob
This topic is locked and no more replies can be posted.