Page 1 of 2
reCAPTCHA is not shown
Posted: 28 Dec 2016, 21:32
by RonalddeWaal
L.s.,
I upgraded my website remdewaal.nl from Joomla 2.5 to Joomla 3.6. In the options of the Guestbook I entered:
- Captcha inschakelen: reCAPTCHA
Captcha - Gebruiker: Alle (User - ALl)
Captcha URL: Retalief pad (relative path)
But the recaptcha is not shown. See nieuw.remdewaal.nl/index.php/teken-het-gastenboek?id=1
On the same website the captcha is shown by the Contacts.
Can anybody tell me why is the recaptcha not shown in the Guestbook?
With kind regards,
Ronald
Re: reCAPTCHA is not shown
Posted: 31 Dec 2016, 01:21
by Jan
Hi, I see another captcha there.
When you enable recaptcha there, try to see the site with some developer tool and check the javascript console if you don't get any javascript error there, see:
https://www.phoca.cz/news/16-joomla/joomla/7 ... -conflicts
Jan
Re: reCAPTCHA is not shown
Posted: 31 Dec 2016, 14:34
by RonalddeWaal
Hi Jan,
Thanks for your quick answer!
When I select the standard Joomla captcha the captcha you have seen on the website is present and working. But when I select the reCaptcha of Google there is no captcha.
But the standard captcha will do on this website.
With kind regards,
Ronald
Re: reCAPTCHA is not shown
Posted: 03 Jan 2017, 14:31
by Jan
Ok, and did you check the javascript console when displaying the reCaptcha?
Jan
Re: reCAPTCHA is not shown
Posted: 05 Jan 2017, 13:26
by RonalddeWaal
Hello Jan,
Yes I did. I saw no errors in Firefox/Firebug.
The options are now set to the Recaptcha. And I see no ReCaptcha (nieuw.remdewaal.nl/index.php/teken-het-gastenboek?id=1).
With kind regards
Ronald
Re: reCAPTCHA is not shown
Posted: 05 Jan 2017, 20:59
by Jan
Hi, the link is redirected to main page and there is no guestbook?
Jan
Re: reCAPTCHA is not shown
Posted: 06 Jan 2017, 08:08
by RonalddeWaal
Strange. That is not what I see.
And when you go to the homepage
https://nieuw.remdewaal.nl/index.php. Select 'Gastenboek'(
https://nieuw.remdewaal.nl/index.php/20 ... 1-14-46-54) and then the button 'Teken ons Gastenboek' (
https://nieuw.remdewaal.nl/index.php/te ... nboek?id=1)?
The website is on a 'work'-location. The only difference with the real location is the .htacces is now renamed.
With kind regards,
Ronald
Re: reCAPTCHA is not shown
Posted: 12 Jan 2017, 18:56
by Jan
Hi, I see it now:
"Mixed Content: The page at '...index.php/teken-het-gastenboek?id=1' was loaded over HTTPS, but requested an insecure script '
http://www.google.com/recaptcha/api/cha ... AYC-elcLNC'. This request has been blocked; the content must be served over HTTPS."
Do you run version 3.0.5, if yes try to go to:
components\com_phocaguestbook\models\fields\phocacaptcha.php
line cca 47
and change FROM:
$retval = '</div><div>' . PhocaGuestbookHelperReCaptcha::recaptcha_get_html($publicKey);
TO:
$retval = '</div><div>' . PhocaGuestbookHelperReCaptcha::recaptcha_get_html($publicKey, null, true);
Save, test and let me know if it works?
Jan
Re: reCAPTCHA is not shown
Posted: 13 Jan 2017, 12:44
by RonalddeWaal
Hello Jan,
You solved the 'problem'. THANKS.
With kind regards,
Ronald
Re: reCAPTCHA is not shown
Posted: 17 Jan 2017, 12:09
by Jan
Ok, thank you for the info, I will change it in next version.
Jan