Joomla integrated captcha not working?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
- Webdongle
- Joomla! Master
- Posts: 44096
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla integrated captcha not working?
Have you registered that url on http://www.google.com/recaptcha ? each code is specific to the site(unless you register all your sites to one code).
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Intern
- Posts: 52
- Joined: Tue Sep 20, 2011 4:51 pm
- Contact:
Re: Joomla integrated captcha not working?
Yes. I've tried it's own key and a global. Neither works. Talk about frustrating!
Char
"Remember there's no such thing as a small act of kindness. Every act creates a ripple with no logical end.". Scott Adams
"Remember there's no such thing as a small act of kindness. Every act creates a ripple with no logical end.". Scott Adams
-
- Joomla! Apprentice
- Posts: 47
- Joined: Thu Feb 24, 2011 11:20 am
Re: Joomla integrated captcha not working?
Hi sorry for bumping an old thread but its right on topic.
I am getting this problem now and traced it to the ajax javascript. The URL is set to http://api.recaptcha.net/js/recaptcha_ajax.js even in SSL mode. All the other elements in the reCaptcha box are loaded from https URLs. Anyone else have this problem?
Site registration url is: https://www.tdz.no/component/users/?view=registration
PS: oh and Joomla version is 2.5.4
I am getting this problem now and traced it to the ajax javascript. The URL is set to http://api.recaptcha.net/js/recaptcha_ajax.js even in SSL mode. All the other elements in the reCaptcha box are loaded from https URLs. Anyone else have this problem?
Site registration url is: https://www.tdz.no/component/users/?view=registration
PS: oh and Joomla version is 2.5.4
-
- Joomla! Ace
- Posts: 1858
- Joined: Mon Dec 14, 2009 4:17 pm
Re: Joomla integrated captcha not working?
I also still got the same problem with the recaptcha on Joomla 2.5.4.
Besök gärna min webbplats: http://www.fotoforalla.se/
-
- Joomla! Apprentice
- Posts: 47
- Joined: Thu Feb 24, 2011 11:20 am
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Feb 10, 2011 6:15 pm
Re: Joomla integrated captcha not working?
It's now September and I am having the same problem as listed several times above. Richard's line 25 fix did not work for me. Just launched this fresh joomla 2.5 install. Anyone get anywhere with this yet?
- Pesto
- Joomla! Enthusiast
- Posts: 175
- Joined: Sat Sep 17, 2005 2:47 am
- Location: In a basement in New Jersey
- Contact:
Re: Joomla integrated captcha not working?
I am having the same problem. public and private key set. I am just trying to get it to work on the register page. The only extension I have installed is JEvents.
site is bizcal365.com
All I see is Captcha* on the Reg.
TIA
Pete
site is bizcal365.com
All I see is Captcha* on the Reg.
TIA
Pete
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Nov 01, 2012 3:03 am
Re: Joomla integrated captcha not working?
Unfortunately, none of the above solutions worked for me.
After a bit of experimenting and troubleshooting, I have worked out the solution for my site at ribitus.com.
I thought I would share this just in case someone else has the same issue that I did.
I simply added this line to the end of my template's styles.css file:
For some reason, the text (Captcha *) was displaying, but the actual captcha text-box was out in space somewhere.
Adding the reference for the #recaptcha_area to my styles.css solved the problem.
After a bit of experimenting and troubleshooting, I have worked out the solution for my site at ribitus.com.
I thought I would share this just in case someone else has the same issue that I did.
I simply added this line to the end of my template's styles.css file:
Code: Select all
/* Fix the positioning problem with the recaptcha in the contact form */
#recaptcha_area { display: inline-block; }
Adding the reference for the #recaptcha_area to my styles.css solved the problem.
- Webdongle
- Joomla! Master
- Posts: 44096
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla integrated captcha not working?
Yep, many of the problems mentioned are due to badly written custom Templates.jkeifer wrote:...
I simply added this line to the end of my template's styles.css file:
...Code: Select all
/* Fix the positioning problem with the recaptcha in the contact form */ #recaptcha_area { display: inline-block; }
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Dec 22, 2012 7:47 pm
Re: Joomla integrated captcha not working?
Hi,
I had the same problem, so I went to firebug to see if any errors where showing on the console. There was an unrelated error there that had to do with me removing the font size changer thing of the template. After I fixed this bug the recaptcha was also fixed and started to appear.
So, the error was a javascript error what I had to do was edit the file "<site dir>/templates/beez_20/javascript/md_stylechanger.js" (I was using beez_20 template)
and comment the following line (at the end of the file):
window.addEvent('domready', addControls);
the line was changed to this:
/*window.addEvent('domready', addControls);*/
I had the same problem, so I went to firebug to see if any errors where showing on the console. There was an unrelated error there that had to do with me removing the font size changer thing of the template. After I fixed this bug the recaptcha was also fixed and started to appear.
So, the error was a javascript error what I had to do was edit the file "<site dir>/templates/beez_20/javascript/md_stylechanger.js" (I was using beez_20 template)
and comment the following line (at the end of the file):
window.addEvent('domready', addControls);
the line was changed to this:
/*window.addEvent('domready', addControls);*/
- joliuko
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Aug 24, 2010 10:13 am
- Location: Lithuania
- Contact:
Re: Joomla integrated captcha not working?
Thanks a lot that helped me a lot!dukke wrote:Hi,
I had the same problem, so I went to firebug to see if any errors where showing on the console. There was an unrelated error there that had to do with me removing the font size changer thing of the template. After I fixed this bug the recaptcha was also fixed and started to appear.
So, the error was a javascript error what I had to do was edit the file "<site dir>/templates/beez_20/javascript/md_stylechanger.js" (I was using beez_20 template)
and comment the following line (at the end of the file):
window.addEvent('domready', addControls);
the line was changed to this:
/*window.addEvent('domready', addControls);*/
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue May 28, 2013 2:59 am
Re: Joomla integrated captcha not working?
I was trying to speedup my site and found that my mootools was slowing down page loads, searching on the internet I found that if I went to: libraries/joomla/document/html/renderer/head.php and modified the file with the following code, I was going to get some speed improvemente witch I did. But my Captcha will not work with this code:
Code: Select all
// Generate script file links
foreach ($document->_scripts as $strSrc => $strAttr)
{
// Code to disable mootools for your site (still loads it for your admin)
// Written by Brad Markle w/ InMotionHosting.com
$ex_src = explode("/",$strSrc);
$js_file_name = $ex_src[count($ex_src)-1];
$js_to_ignore = array("mootools-core.js","mootools-more.js");
if( in_array($js_file_name,$js_to_ignore) AND substr_count($document->baseurl,"/administrator") < 1 AND $_GET['view'] != 'form')
continue;
$buffer .= $tab . '<script src="' . $strSrc . '"';
if (!is_null($strAttr['mime']))
{
$buffer .= ' type="' . $strAttr['mime'] . '"';
}
if ($strAttr['defer'])
{
$buffer .= ' defer="defer"';
}
if ($strAttr['async'])
{
$buffer .= ' async="async"';
}
$buffer .= '</script>' . $lnEnd;
}
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sat Aug 04, 2012 10:05 pm
- Location: Dublin
- Contact:
Re: Joomla integrated captcha not working?
Mine did not work initially too, I transferred the site again through site transfer wizard and setup a new database. It started to work fine after that.
Hope this helps.
Hope this helps.
Forum Rules on Signature: http://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Aug 13, 2013 4:23 pm
Re: Joomla integrated captcha not working?
I realize this is a late post to this topic, but I'm relatively fresh to Joomla. I just upgraded a client site from 1.5 to the current version, and the re-captcha does not appear on the site's main contact form - even when enabled in the contact management settings. The plugin is enabled, selected in the options for the contact management settings under the form tab. Still, nothing. The text "Captcha*" appears, but does not have anything inside the div tag which is just:
Any help is appreciated! We're getting some abusive spam & want to eliminate it if possible.
Code: Select all
<dt><label id="jform_captcha-lbl" for="jform_captcha" class="hasTip required" title="Captcha::Type in the textbox what you see in the image.">Captcha<span class="star"> *</span></label></dt>
<dd><div id="dynamic_recaptcha_1"></div></dd>
-
- Joomla! Apprentice
- Posts: 28
- Joined: Sun Jul 29, 2007 10:17 am
Re: Joomla integrated captcha not working?
a bit of a different one ...
the global setting in joomla admin is the problem...
i set it to recaptcha and save and it returns to "none" each time rather than update with recaptch as the tool
any thoughts?
cheers
the global setting in joomla admin is the problem...
i set it to recaptcha and save and it returns to "none" each time rather than update with recaptch as the tool
any thoughts?
cheers
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Dec 21, 2008 9:13 pm
- Contact:
Re: Joomla integrated captcha not working?
The same issue appeared for me on non-secure...
const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
The API_SERVER in Joomla default code was wrong and I updated to above. RECAPTCHA now displayed on my site.
const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
The API_SERVER in Joomla default code was wrong and I updated to above. RECAPTCHA now displayed on my site.
- alikon
- Joomla! Champion
- Posts: 5941
- Joined: Fri Aug 19, 2005 10:46 am
- Location: Roma
- Contact:
-
- Joomla! Apprentice
- Posts: 47
- Joined: Thu Feb 24, 2011 11:20 am
Re: Joomla integrated captcha not working?
The plugin will still not handle SSL correctly. When the site uses SSL, fsockopen must precede $host with "ssl://" and port must be set to 443, and the verify server has to be set to use "https://". Otherwise browsers will raise warnings of mixed secure and unsecure content.
- razor7
- Joomla! Explorer
- Posts: 374
- Joined: Wed Aug 24, 2005 2:06 pm
- Location: Argentina
- Contact:
Re: Joomla integrated captcha not working?
I don't think so, because in line 68, the script is included into an <script> tag in the header section of the HTML code, thats all, as any other JS script, not downloaded at all...TDZWeb wrote:The plugin will still not handle SSL correctly. When the site uses SSL, fsockopen must precede $host with "ssl://" and port must be set to 443, and the verify server has to be set to use "https://". Otherwise browsers will raise warnings of mixed secure and unsecure content.
If you mean method _recaptcha_http_post, all I can see is an unsecured standard port 80 connection to host api-verify.recaptcha.net using fsockopen, thats allways works regardless of the SSL site config!
Visit http://www.mgscreativa.com
Take a look at our downloads section for VirtueMart payment plugins and mouch more! http://www.mgscreativa.com/contenidos/i ... Itemid=214
Take a look at our downloads section for VirtueMart payment plugins and mouch more! http://www.mgscreativa.com/contenidos/i ... Itemid=214
-
- Joomla! Apprentice
- Posts: 19
- Joined: Mon Apr 29, 2013 3:33 pm
Re: Joomla integrated captcha not working?
I have had the same problem only for the last few days. I'm not using ssl, I am using default templates, I had not changed anything recently.
Since this occurred I have updated to Joomla 2.5.14, but I still have the same problem with the text-box and recaptcha plug-in being absent from User Registration in Beez5. I see the word Captcha but there is no text-box and no Recaptcha image displayed anywhere on the form. The window sliders indicate that Windows is not aware of any page content beyond the edge of the screen.
Since this occurred I have updated to Joomla 2.5.14, but I still have the same problem with the text-box and recaptcha plug-in being absent from User Registration in Beez5. I see the word Captcha but there is no text-box and no Recaptcha image displayed anywhere on the form. The window sliders indicate that Windows is not aware of any page content beyond the edge of the screen.
-
- Joomla! Apprentice
- Posts: 47
- Joined: Thu Feb 24, 2011 11:20 am
Re: Joomla integrated captcha not working?
It may "work", but Firefox and Chrome at least throws up a big red warning screen asking for confirmation to proceed due to the webpage mixing secure and insecure content, probably because the script served uses urls based on what protocol is used to fetch it. The plugin should correctly detect http/https and use the appropriate protocols and ports. Google readily serves the recaptcha api either http or https. It should not be more than a dozen more lines of code to do it.razor7 wrote:I don't think so, because in line 68, the script is included into an <script> tag in the header section of the HTML code, thats all, as any other JS script, not downloaded at all...TDZWeb wrote:The plugin will still not handle SSL correctly. When the site uses SSL, fsockopen must precede $host with "ssl://" and port must be set to 443, and the verify server has to be set to use "https://". Otherwise browsers will raise warnings of mixed secure and unsecure content.
If you mean method _recaptcha_http_post, all I can see is an unsecured standard port 80 connection to host api-verify.recaptcha.net using fsockopen, thats allways works regardless of the SSL site config!
- razor7
- Joomla! Explorer
- Posts: 374
- Joined: Wed Aug 24, 2005 2:06 pm
- Location: Argentina
- Contact:
Re: Joomla integrated captcha not working?
Oh, I got it!, please fill in aa bug report with some screenshots, that's the correc t way to raise awareness of bugs!TDZWeb wrote:It may "work", but Firefox and Chrome at least throws up a big red warning screen asking for confirmation to proceed due to the webpage mixing secure and insecure content, probably because the script served uses urls based on what protocol is used to fetch it. The plugin should correctly detect http/https and use the appropriate protocols and ports. Google readily serves the recaptcha api either http or https. It should not be more than a dozen more lines of code to do it.razor7 wrote:I don't think so, because in line 68, the script is included into an <script> tag in the header section of the HTML code, thats all, as any other JS script, not downloaded at all...TDZWeb wrote:The plugin will still not handle SSL correctly. When the site uses SSL, fsockopen must precede $host with "ssl://" and port must be set to 443, and the verify server has to be set to use "https://". Otherwise browsers will raise warnings of mixed secure and unsecure content.
If you mean method _recaptcha_http_post, all I can see is an unsecured standard port 80 connection to host api-verify.recaptcha.net using fsockopen, thats allways works regardless of the SSL site config!
Visit http://www.mgscreativa.com
Take a look at our downloads section for VirtueMart payment plugins and mouch more! http://www.mgscreativa.com/contenidos/i ... Itemid=214
Take a look at our downloads section for VirtueMart payment plugins and mouch more! http://www.mgscreativa.com/contenidos/i ... Itemid=214
- Webdongle
- Joomla! Master
- Posts: 44096
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla integrated captcha not working?
http://joomlacode.org/gf/project/joomla ... 29&start=0
http://joomlacode.org/gf/project/joomla ... 53&start=0
http://joomlacode.org/gf/project/joomla ... 53&start=0
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- trogladyte
- Joomla! Guru
- Posts: 583
- Joined: Sat May 03, 2008 9:27 pm
- Location: Phoenix, AZ
- Contact:
Re: Joomla integrated captcha not working?
I got the patch off http://joomlacode.org/gf/project/joomla ... 76&start=0 but I have absolutely no idea how to apply it. Can anyone help a non-coder please?
Ian Shere - Phoenix Website Design & Hosting
http://www.citruskiwi.com
Certified Flight Instructor http://www.flygoodyear.com
http://www.citruskiwi.com
Certified Flight Instructor http://www.flygoodyear.com
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Joomla integrated captcha not working?
You need to find the reCaptcha folder in the Plugins folder of your Joomla install. There you edit the php file. You open the patch file, copy the lines that are marked as + and paste them into the php file in the reCaptcha folder instead of the lines that are marked as - in the patch file.trogladyte wrote:I got the patch off http://joomlacode.org/gf/project/joomla ... 76&start=0 but I have absolutely no idea how to apply it. Can anyone help a non-coder please?
The patch works on a clean install of joomla 3.2 with default template. Just tried it.
The problem seems to be mostly caused by some template troubles. The change in the Google api seems to be causing troubles to the templates. I had reCaptcha working on a Joomla 2.5 install with PixelDot template. It stopped working recently. Patch is not helping. It just shows reCaptcha*.
Similarly on a site with Joomla 3.2 clean install the reCaptcha doesnt work. When the patch is applied it starts to work. When different template is applied. The reCaptcha stops working. When I turn back to default template, the reCaptcha shows up but with overflow.
So I guess the changes in the google API cause some trouble with the templates. Would be nice if anyone could hint where could be the trouble most probably in the templates. Thx.
- Webdongle
- Joomla! Master
- Posts: 44096
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla integrated captcha not working?
@Surel
I am not setup to apply patches from github ... could you attach the patched file please ? You may need to rename it from .php to .xyz to attach it
I am not setup to apply patches from github ... could you attach the patched file please ? You may need to rename it from .php to .xyz to attach it
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Joomla integrated captcha not working?
Patch for 3.2.0 is posted here and is also valid as posted on the tracker for Joomla 2.5 seemingly. http://docs.joomla.org/J3.2:The_reCaptc ... Joomla_3.2 This patch works fine for J3.2.0 and must work fine for 2.5. as well if you just change sthe API url's as posted
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Joomla integrated captcha not working?
When I run the site in debug mode the reCaptcha reappears.
The reCaptcha works with default clean install and default template.
It doesn't work with non default template. However, once I apply debug mode. It reappears. Anyone having suggestion to where could I find the problem and solve it? Txh.
The reCaptcha works with default clean install and default template.
It doesn't work with non default template. However, once I apply debug mode. It reappears. Anyone having suggestion to where could I find the problem and solve it? Txh.
- Webdongle
- Joomla! Master
- Posts: 44096
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla integrated captcha not working?
Template override in the custom template ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Joomla integrated captcha not working?
I am not that skilled in php to know what is wrong just like that. What I have atm:Webdongle wrote:Template override in the custom template ?
1) When I run the non-default template in debug mode, the reCaptcha shows up and works just fine
2) Looking at the difference in the html, the problem is that when not in debug mode the one of the two reCaptcha javascripts does not load in the head and the style is not generated as well. I.e. this is missing in the head:
My questions are thus:<script type="text/javascript" src="http://www.google.com/recaptcha/api/cha ... 15&lang=en">
<style type="text/css">
1) What change does running the website in debug mode make, that it changes the head.
2) Where could I find in the template what is repressing the javascript to load.
thx.