Forums

ReCaptcha Plugin

Namikon 10 Jul, 2009
Hi there.

I've a problem with the ReCaptcha plugin. My form works fine, but when i enable the recaptcha plugin the
form fails to load with this errormessage:

Fatal error: Undefined class name 'self' in <snip>/components/com_chronocontact/plugins/cf_recaptcha.php on line 182

Any idea on this?😑
Using joomla 1.5.11 (.12 broke TinyMCE..) and ChronoForms 3.1 RC5.3
GreyHead 10 Jul, 2009
Hi Namikon,

Which PHP version are you running? Is this a PHP 4 problem? If so, I'll create a fixed version of the plugin.

Bob
Namikon 10 Jul, 2009
phpinfo tells me "PHP Version 4.4.9"
I can pm you the link to the entire phpinfo if you need it
GreyHead 11 Jul, 2009
Hi Namikon,

Please test the attached version of cf_recaptcha.php - unzip and copy the cf_recaptcha.php file to the components/com_chronocontact/plugins folder (you can rename the current file to cf_recaptcha.php.old to keep it as a backup if you like).

The only changes from the version in the current release are that I've replaced 'self' with the class-name 'cf_recaptcha' as the self:: syntax isn't supported in PHP 4.

Bob
Namikon 11 Jul, 2009
Works! Thanks 8)
This topic is locked and no more replies can be posted.