keat Posted July 26, 2017 Share Posted July 26, 2017 (edited) I'm using V1 of recapture, but it appears to have stopped working. I see a message saying 'The verification codes were incorrect. Please verify that you are human.' I know recapture works, as I have it running on a test site, but for some reason it's not working on my main site. any ideas ? Edited July 26, 2017 by keat Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 26, 2017 Share Posted July 26, 2017 It can be really tough to solve. However you could debug this by changing this line https://github.com/cubecart/v6/blob/master/includes/lib/recaptcha/recaptchalib.php#L74 to: $request->skiplog(false); will show the request and response in the request log in the admin control panel of your store. You may need to enable allow_url_fopen in the MultiPHP INI Editor of WHM. Quote Link to comment Share on other sites More sharing options...
keat Posted July 26, 2017 Author Share Posted July 26, 2017 (edited) I found this in debug. curl_exec() has been disabled for security reasons - Unable to reach reCAPCHA server I tested disabling some PHP functions early this morning, and then re-enabled them, I suspect something has been left behind. although i've no idea why it still works on the test site, maybe inheritance of php Edited July 26, 2017 by keat Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 26, 2017 Share Posted July 26, 2017 curl_exec is the most favourable way to communicate with remote servers. fopen is not recommended. You need this enabled as it is used for everything from reCaptcha, CubeCart version check to taking card payments. 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.