MyBB Community Forums

Full Version: reCAPTCHA is not displayed on SSL encryption
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I found a weird issue on my forum.
On Chrome it seems that the reCAPTCHA picture is not appear.
I have opened the console and I saw this error:

[blocked] The page at https://www.myforum/member.php ran insecure content from http://www.google.com/recaptcha/api/challenge?k=my-key.

It's obvious that I need to call the reCAPTCHA trough https, but I don't know where to edit this.
I don't have any plugin installed (I had reCAPTCHA plugin, but still without any results).

Any help will be appreciated. Thank you!
Hi,

You will need to open up the plugin, edit it, and re-install it.

The other issue it could be is with your SSL certificate. What is the link to your forum?
Hey,
I said that I'm not using any plugin. I use the myBB reCAPTCHA mod.
What exactly do I have to edit?
Change in inc/functions_captcha.php:
$server = $this->server;
to
$server = $this->secure_server;
thanks. i also needed this.
Many thanks, man!
(2012-09-13, 03:57 PM)StefanT Wrote: [ -> ]Change in inc/functions_captcha.php:

$server = $this->server;
to

$server = $this->secure_server;

On my forum (version 1.6.9), its named inc/class_captcha.php
(2014-08-15, 08:21 AM)xtdv Wrote: [ -> ]
(2012-09-13, 03:57 PM)StefanT Wrote: [ -> ]Change in inc/functions_captcha.php:

$server = $this->server;
to

$server = $this->secure_server;

On my forum (version 1.6.9), its named inc/class_captcha.php

You shouldn't be running 1.6.9. You should always be running the latest stable version.
Also this bug as already been fixed a while ago.