i have a site in codeigniter,and that site working perfectly on http.
My client moved the site to https.
Then now when user registr
I got the same error an tried all suggestions but nothing work for me.
then i did analyzed the issue and then i got SSL certificate issue
this certificate is only valid for the following names: www.google.com (Error code: ssl_error_bad_cert_domain)
so i changed
echo recaptcha_get_html($publickey,,true);
@fsockopen($host, [...] to @fsockopen(gethostbyname($host), [...]
along with
define("RECAPTCHA_API_SECURE_SERVER", "https://api-secure.recaptcha.net");
to
define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api");
in recaptchalib.php and recaptcha worked again.