This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Recaptcha invalid public key
Started 16 years ago by jonathanryan | 3 posts |
-
I just implemented recaptcha on a form. When i test it I get invalid public key. I've copied and pasted very carefully to the config file. Any ideas what's going wrong?
Public key is the first entry, right?
Posted 16 years ago # -
Hmm.. usually people is having the keys copied into the wrong section.
It should be similar as this:define('RECAPTCHA_PUBLIC_KEY','6LfYXQAAIUEAAKRsi15lY0-pVhznlvTv1fC'); define('RECAPTCHA_PRIVATE_KEY','6LfYXQANBHAAAOJrNpeWDOTdYtHTGdfg-ert');
Or you can also use the built-in CAPTCHA instead of reCaptcha.
Edit this line:define('USE_INTERNAL_CAPTCHA',false);
to be like this:
define('USE_INTERNAL_CAPTCHA',true);
MachForm Founder
Posted 16 years ago # -
Ah that's me being stupid then. I replaced the text with the key so it read
define('6LfYXQAAIUEAAKRsi15lY0-pVhznlvTv1fC','');
If I'd actually read the whole line this would have been obvious.....
Posted 16 years ago #
Reply
You must log in to post.