The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
SSL and reCaptcha - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: SSL and reCaptcha (/showthread.php?tid=964) |
SSL and reCaptcha - alrioart - Dec 7th, 2010 I can't seem to use the reCaptcha on my form without Internet Explorer throwing up a warning saying "some items on this page are not secure". See this page: https://gwwi.org/appBACK.php I've tried making the path to the api a secure address but it didn't work: require_once("https://my_site.org/formtools/global/api/api.php"); Anyone know how to fix that? Terry RE: SSL and reCaptcha - alrioart - Dec 7th, 2010 Found an answer to my own question inside recaptchalip.php! ![]() function recaptcha_get_html ($pubkey, $error = null, $use_ssl = true) Thanks for such a great script. Terry RE: SSL and reCaptcha - Ben - Dec 9th, 2010 Hey Terry, Thanks for posting the fix! I think I'll log this as a bug. There's no reason the ft_api_display_captcha() couldn't detect for https and call recaptcha_get_html() with SSL. - Ben RE: SSL and reCaptcha - terry54661 - Jul 20th, 2011 Quote:Found an answer to my own question inside recaptchalip.php! Smile Doing the above also sorts out the issue with SSL but now the recaptcha does not display. Any ideas about why this happens would be great. Terry RE: SSL and reCaptcha - paulr - Jul 18th, 2012 (Jul 20th, 2011, 2:07 AM)terry54661 Wrote:Quote:Found an answer to my own question inside recaptchalip.php! Smile Probably far too late to help this user but the last problem noted is because Google have changed the recaptcha secure server URL, and this needs to be updated in /global/api/recaptchalib.php change line 39 from ... define("RECAPTCHA_API_SECURE_SERVER", "https://api-secure.recaptcha.net"); to ... define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api"); and all should be well. RE: SSL and reCaptcha - 12knh13m - Nov 25th, 2020 SSL and reCaptcha happen when your browser takes malware cookies. You just need to clear the browser data before use best essay service and then you will not face this kind of problem on your browser. |