10378 Posts in 2194 Topics by 1710 members
| Go to End | ||
| Author | Topic: | 3500 Views |
-
Re: Getting Recaptcha to work in UserForms Module

25 November 2009 at 11:20am
I followed the instruction to setup the reCaptcha and I still get the following error.
Fatal error: Class 'RecaptchaProtector' not found in /var/www/stage/fit/spamprotection/code/EditableSpamProtectionField.php on line 31
-
Re: Getting Recaptcha to work in UserForms Module

5 January 2010 at 6:37am
Hi there,
I am getting the same error message as victuoso
Any suggestions?
Thanks in advanceBex
-
Re: Getting Recaptcha to work in UserForms Module

18 February 2011 at 1:13am
I have installed
chillu-recaptcha-ecb4394with silverstripe 2.4.5
Im using<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" lang="en">
<head>the page load etc and i see the recaptcha .etc but i see js error
js details
Uncaught TypeError: Cannot set property 'innerHTML' of nullin the readme it says
## Known issues:
ReCAPTCHA current does not work if the page doctype is XHTML. The API returns
Javascript which uses "document.write", which is not supported in XHTML.
A work-around is to always use the no-script version of the module (modify the
relevant lines in RecaptchaField.php), or to switch your webpage's doctype to
HTML 4. See: http://www.w3schools.com/tags/tag_DOCTYPE.aspQuestion:I want to stay with Xhtml strict
It says modify the
relevant lines in RecaptchaField.php, but which lines?
| 3500 Views | ||
| Go to Top |



