carsonswa Posted April 8, 2016 Report Share Posted April 8, 2016 This error is so annoying! I have also tried the google recaptcha and that does not work either! Not sure what to do, no one can join my VA either. I have looked at all other forms too. My site is not a subdomain. ERROR for site owner: Invalid domain for site key Quote Link to comment Share on other sites More sharing options...
web541 Posted April 8, 2016 Report Share Posted April 8, 2016 This has been posted around many times before. Go to here http://www.google.com/recaptcha/intro/index.html get another site key for your website then go into your core/local.config.php and copy the following (if it's not already there) /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', 'PASTEPUBLICKEYHERE'); Config::Set('RECAPTCHA_PRIVATE_KEY', 'PASTEPRIVATEKEYHERE'); and edit the PASTEPUBLICKEYHERE and PASTEPRIVATEKETHERE to match the ones you just got from Google. Source: ------------------- http://forum.phpvms.net/topic/22280-recaptcha-problem/ http://forum.phpvms.net/topic/22870-catcha-error/ Quote Link to comment Share on other sites More sharing options...
carsonswa Posted April 9, 2016 Author Report Share Posted April 9, 2016 @web541 Where in the local config? Quote Link to comment Share on other sites More sharing options...
web541 Posted April 9, 2016 Report Share Posted April 9, 2016 in core/ Quote Link to comment Share on other sites More sharing options...
carsonswa Posted April 9, 2016 Author Report Share Posted April 9, 2016 @web541 no, where in the localconfig do I put it? Quote Link to comment Share on other sites More sharing options...
web541 Posted April 9, 2016 Report Share Posted April 9, 2016 anywhere Quote Link to comment Share on other sites More sharing options...
carsonswa Posted April 9, 2016 Author Report Share Posted April 9, 2016 @web541, I put it at the very top and the page went white. Quote Link to comment Share on other sites More sharing options...
carsonswa Posted April 9, 2016 Author Report Share Posted April 9, 2016 @web541 do I also put this? /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Quote Link to comment Share on other sites More sharing options...
web541 Posted April 9, 2016 Report Share Posted April 9, 2016 yes put this whole thing /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', 'PASTEPUBLICKEYHERE'); Config::Set('RECAPTCHA_PRIVATE_KEY', 'PASTEPRIVATEKEYHERE'); and edit the PASTEPUBLICKEYHERE and PASTEPRIVATEKETHERE to match the ones you just got from Google. And put it preferably a line or two before this one # Page encoding options And make sure it's after the <?php because I suspect that's why your page went white. Quote Link to comment Share on other sites More sharing options...
mjrbradley66 Posted August 15, 2017 Report Share Posted August 15, 2017 Hi, I have followed these instructions but this still happens? Any idea? Quote Link to comment Share on other sites More sharing options...
web541 Posted August 15, 2017 Report Share Posted August 15, 2017 Right click => Inspect Element => Browser Console and see if there are any errors showing up. Also make sure that your URL is set correctly in the Google captcha API console. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.