does captcha not work on ssl sites?

hi guys.. my captcha works just fine on my localhost.. non ssl ofcourse.. but when i port the code on godaddy (ssl cert deployed), the captcha does not show up on the join page.. however, i just happened to test the forgot password functionality and there i saw the captcha work just fine.. (though the password sent on mail doesn't seem to be correct.. user or pass incorrect.. workin on that too :).. )

any thoughts as to what could be goin wrong? i have doubts on the ssl thing bcos when we generate the captcha keys, the field where we enter the domain, its written http next to it.. 

Quote · 26 Feb 2014

I know at first this topic will seem unrelated but if you scroll down to the last few posts I think it will fix your problem too:

 

http://www.boonex.com/forums/?action=goto&my_threads=1#topic/reCAPTCHA-doesn-t-appear-on-Chrome.htm

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 26 Feb 2014

Issue with captcha on ssl should have been fixed since dolphin 7.1.2.

What version of dolphin are you using?

https://www.deanbassett.com
Quote · 26 Feb 2014

on 7.1.4 - captcha DOES work with SSL - I am using it myself

caredesign.net
Quote · 26 Feb 2014

Change image src attribute to contain https:// instead of http://   ??

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 26 Feb 2014

i am on 7.1.1.. i see that 7.1.4 is a beta.. do u guys suggest i go with 7.1.3 now and then move to 7.1.4? 

 i tried changing http to https in the captcha file as suggested but it didn't work.. in the existing 7.1.1 ofcourse.. 

Quote · 27 Feb 2014

 I am checking more on this and going through my SSL certs KB ... I should be back with more answers / possible fix shortly!

 

i am on 7.1.1.. i see that 7.1.4 is a beta.. do u guys suggest i go with 7.1.3 now and then move to 7.1.4? 

 i tried changing http to https in the captcha file as suggested but it didn't work.. in the existing 7.1.1 ofcourse.. 

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

you should not need to edit any core dolphin files Except maybe one change to your .htaccess file. Attached is a screenshot in which the captcha on the join form is working properly on a completely SSL'ed site.

First - did you input your Public AND Private captcha keys in the Admin section of your site.

Second. In your inc/header.inc.php file - is your site url https://

Third - and I am not sure if this is relevant, but it is how I have my site set up and all works well. In the .htaccess file, I have the following:

 

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

 

this takes any http request that comes in and automatically switches it to https. I do not think there is that much of a difference between 7.1.1 and 7.1.4 in regards to dealing with the captcha, so I hope this helps.

captcha on ssl.png · 710.7K · 361 views
caredesign.net
Quote · 27 Feb 2014

Are you getting any warnings / errors in browsers ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

I'm not sure .... but it's worth trying;

In the /plugins/recaptchalib.php file see if you have the following line and make change:

function recaptcha_get_html ($pubkey, $error =null, $use_ssl =false)

to read as:

function recaptcha_get_html ($pubkey, $error =null, $use_ssl =true

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

ok i tried the htaccess change as well.. no result.. yes i have done the first two setting you suggested prof.. detective, no errors.. the join page loads but the captcha does not load.. 

Quote · 27 Feb 2014

did you clear caches after making changes? Browser and dolphin caches

caredesign.net
Quote · 27 Feb 2014

Try my post above ^^^^

Also, have you tried in different browsers ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

I am talking about browser errors not Dolphin errors .... see if you have browser errors in either FF and Chrome (try both and report back please).

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

One other thing - when I created my captchas - I checked the box to enable on all domains - did you check this option as well? If not - try creating new keys with this option checked.

caredesign.net
Quote · 27 Feb 2014

I sell and work SSL certs everyday ... I hate not having an immediate answer / fix ffs lol  :/

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

guys really appreciate your help and that too so prompt.. 

yes i tried after clearing all caches.. browser and dolphin.. its the same.. no browser errors too.. 

i recreated captchas with the all domains options checked.. still the same.. 

Quote · 27 Feb 2014

 did you make the change I suggested in  /plugins/recaptchalib.php  ?

 

guys really appreciate your help and that too so prompt.. 

yes i tried after clearing all caches.. browser and dolphin.. its the same.. no browser errors too.. 

i recreated captchas with the all domains options checked.. still the same.. 

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

yes.. that too.. at two places in the file where the captcha link appears.. 

Quote · 27 Feb 2014

sorry i read it wrong.. yes i made this change under plugins.. its just one place..

i was talking abt the other file change in BxBaseCaptchaReCAPTCHA.php when i said two places.. 

Quote · 27 Feb 2014

IIIII Wonttt giiiveeee uppppp ....   

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 27 Feb 2014

i just ported to 7.1.4.. and all the same.. the captcha doesn't show up.. 

there is one thing though.. in the 7.1.1 setup, when it was not working for join, it was working for forgot password page(captcha showed up)!.. However, the new password sent on the mail to the user was wrong.. i just checked the same in 7.1.4 setup for forgot password page and the captcha isnt coming there.. 

any ideas? Prof u were sayin its workin for ur ssl site right? any changes u did other than saving the keys under security tab in admin?

Quote · 28 Feb 2014

i only did those 3 things - select to make the keys global, made url in header.inc.php https://, and added the redirect to my .htaccess file. I even did a fresh install of 7.1.4 just to see, and those 3 things worked for me. Just curious, was your 7.1.1 an upgrade or a "fresh" install (at that time)?

 

You can see the working captcha here: https://mytherapysession.com/join.php

caredesign.net
Quote · 28 Feb 2014

o boy.. now its a 7.1.4 fresh install.. both 7.1.1 and 7.1.4 were fresh installs.. 

in my new 7.1.4 install i have done all the 3 things that you have said.. donno wats wrong.. 

Quote · 28 Feb 2014

check your PM

caredesign.net
Quote · 28 Feb 2014

Ok, are there any IIS wizards around - he is on an IIS server, not apache.

caredesign.net
Quote · 28 Feb 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.