Joomla integrated captcha not working?

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

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.
EE Photo
Joomla! Ace
Joomla! Ace
Posts: 1858
Joined: Mon Dec 14, 2009 4:17 pm

Re: Joomla integrated captcha not working?

Post by EE Photo » Sat Feb 18, 2012 2:05 pm

cojimar wrote:Hello there, yes i tried both separate and none of them work for me, switch global and user but no change, i only get the capcha text on the form, thanks for your replies.
Me to but in the contact form.
Besök gärna min webbplats: http://www.fotoforalla.se/

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 2:35 pm

Yes i look at your site and indeed we have the same problem http://americanenvios.com/registrate-aqui

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 3:45 pm

Hmm, then I have no idea :-(

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 3:52 pm

??? I went as far as re install 2.5 from scratch bc before i just update it through back end thinking that maybe some files were corrupted but nothing, for now i may stay without capcha.

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 4:08 pm

Hello fellows,
for your contact forms you have to switch on the captcha option in the CONTACT manager, NOT in the user manager.
Switching it on in the user manager ONLY affects the forgotten password form and the registration form but not contact forms!
Maybe is this the problem?
contact_manager.png
global_settings.png
Best regards,
Richard
You do not have the required permissions to view the files attached to this post.

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 4:18 pm

In my case a'm using a third party application for the contact form, so that dont work for me, thanks Richard67!!!

EE Photo
Joomla! Ace
Joomla! Ace
Posts: 1858
Joined: Mon Dec 14, 2009 4:17 pm

Re: Joomla integrated captcha not working?

Post by EE Photo » Sat Feb 18, 2012 4:24 pm

Richard67 wrote:Hello fellows,
for your contact forms you have to switch on the captcha option in the CONTACT manager, NOT in the user manager.
Switching it on in the user manager ONLY affects the forgotten password form and the registration form but not contact forms!
Maybe is this the problem?
contact_manager.png
global_settings.png
Best regards,
Richard
Yes I know that.
Besök gärna min webbplats: http://www.fotoforalla.se/

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 4:26 pm

Hi again folks,

well, if you would visit my site http://www.richard-fath.de (is worth a visit, is nice Music there played by myself), you would see that I do not use the Joomla builtin captcha, too.

I had it working, but the Google ReCaptcha is hard to read, and even if the Joomla team managed that the help text is shown in the currently adjusted site language (I have a multilingual site), the audio version of the captcha is allways being read in German (maybe because Google can detect that my IP address is a German one, or they allways read it in German), and the audio version is almost impossible to understand.

And so I decided not to use it, never had spam via the contact form.

But I wish you good luck with your sites.

And cojimar, maybe you should check your third party contact form provider if they offer additional Captcha plugin for it - often they do.

Best regards,

Richard

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sat Feb 18, 2012 4:28 pm

Are you using ssl anywhere on on your site ?
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".

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 4:33 pm

Hi Webdongle,
did you ask me?
Yes, for both contact and login, where I once had the Captcha working, I use SSL.
I have a certificate for my site so I never had problems.
Best regards,
Richard

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 4:37 pm

Richard67 wrote:Hi again folks,

well, if you would visit my site http://www.richard-fath.de (is worth a visit, is nice Music there played by myself)

Best regards,

Richard
Love your music, thanks for sharing Richard67!!!

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 4:57 pm

Hi cojimar,
thanks for the flowers.
I would be happy if you would vote for those recordings you like (voting buttons top left).
And if you want you can test my Phocaguestbook Captcha ;-)
Unfortunately the JWPlayer Advanced has a bug so the thumbnail image with song name is shown only for the first song of a playlist, and only until second song begins or something else in the playlist is clicked. Hope this will be fixed soon, have a ticket there.
For any feedback if something else does not work I would be happy. You can use my contact form of course, it has no captcha ;-)
Have a nice day,
Richard

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sat Feb 18, 2012 5:05 pm

Richard67 wrote:....
did you ask me?
Yes, for both contact and login, where I once had the Captcha working, I use SSL.
....
The question was to all on the thread that have a problem. There is a known bug http://joomlacode.org/gf/project/joomla ... m_id=28075 There is a patch ready to test
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".

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 5:12 pm

Hi Webdongle,
well, on http://joomlacode.org/gf/project/joomla ... m_id=28075 you find the same what I posted here in this thread above on the first page, the bug report even refers to this thread here!
And the guys here said they already have tried this.
So this is not really new information.
But thanks for trying to help.
Best regards,
Richard

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sat Feb 18, 2012 5:21 pm

It is new information because there is now a patch
By examining the patch you will find
/plugins/captcha/recaptcha//recaptcha.php
line 25 changes from
const RECAPTCHA_API_SECURE_SERVER = "https://api-secure.recaptcha.net";
to
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";

So even if you can't test the patch directly you can edit the file to see if it works.
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".

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 5:27 pm

Hi again,

was exactly what I had suggested in post number 16 of this thread and have successfully tested:
Richard67 wrote:Means I have changed line 25 of plugins/captcha/recaptcha/recaptcha.php to following:

Code: Select all

const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
But good to know there is a patch now so I guess it will be included in the next release and I don't have to repeat my change then after an upgrade.

Best regards,

Richard

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 5:41 pm

Patch uploaded but nothing change and yes Richard the patch is just the same as replace line 25.

Richard67
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla integrated captcha not working?

Post by Richard67 » Sat Feb 18, 2012 5:45 pm

Hmm, I just have an idea, cojimar, is maybe silly because I think is not your problem, but who know:
Have you switched on site caching?
If so, maybe delete the cache files in the backend's maintenance screen, both admin and site, and try again.
I have caching off.
Best regards,
Richard

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 6:01 pm

Thanks Richard, i have caching off too, also clear and purge cache on maintenance :pop

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sat Feb 18, 2012 6:09 pm

@cojimar
Use a standard Template as default until you get recaptcha working. That way you can rule out badly written Template overrides.

Also do you have any 3rd party extension that handles user control ?
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".

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sat Feb 18, 2012 6:27 pm

Webdongle yesterday we try the standard template and don't work either, the only third party extension a'm using that i could think is RSForms!Pro???

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sat Feb 18, 2012 7:48 pm

cojimar wrote:Webdongle yesterday we try the standard template and don't work either,...
But since then you edited the file so you don't know if that fixed the problem until you check using a default Template. If you test all your changes with a custom Template then you don't know if an override is preventing you see you fixed things.

cojimar wrote:... the only third party extension a'm using that i could think is RSForms!Pro???
Did you use it to create a user login screen with extra fields ?
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".

cojimar
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Sun Sep 18, 2011 6:44 pm

Re: Joomla integrated captcha not working?

Post by cojimar » Sun Feb 19, 2012 12:25 am

But since then you edited the file so you don't know if that fixed the problem until you check using a default Template. If you test all your changes with a custom Template then you don't know if an override is preventing you see you fixed things.

Yes, its not the template, i am using RSforms in two other places of the site but never in the registration form, 8)
You do not have the required permissions to view the files attached to this post.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sun Feb 19, 2012 12:29 am

Want to PM me a login so I can take a first hand look ?
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".

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla integrated captcha not working?

Post by Webdongle » Sun Feb 19, 2012 1:21 am

@cojimar
http://www.yoursite.com
redirects to
www.yoursite.com

and

http://yoursite.com
redirects to
yoursite.com


Given that you have changed the correct line in the correct file
Then the stripping of the http:// could be the problem
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".

blades
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Dec 27, 2011 4:43 pm

Re: Joomla integrated captcha not working?

Post by blades » Thu Apr 26, 2012 4:05 pm

CubAfull wrote:
ruud68 wrote:How can this be fixed?
Hi,
This is a temporal solution.

Open:

Code: Select all

site_root/plugins/captcha/recaptcha/recaptcha.php
On line 58 change:

Code: Select all

$server = self::RECAPTCHA_API_SECURE_SERVER;
For:

Code: Select all

$server = self::RECAPTCHA_API_SERVER;
... and test.
this worked for me also.Thanx a lot

mwweb
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Tue Sep 20, 2011 4:51 pm
Contact:

Re: Joomla integrated captcha not working?

Post by mwweb » Thu Apr 26, 2012 7:53 pm

I'm having the same problem. It's not working in my Contact page and in a third party extension. I have the correct settings as far as global config, user manager, contact manager, and tried the two line changes listed above, separately. And I've purged expired cache.
Char

"Remember there's no such thing as a small act of kindness. Every act creates a ripple with no logical end.". Scott Adams

blades
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Dec 27, 2011 4:43 pm

Re: Joomla integrated captcha not working?

Post by blades » Thu Apr 26, 2012 9:22 pm

mwweb wrote:I'm having the same problem. It's not working in my Contact page and in a third party extension. I have the correct settings as far as global config, user manager, contact manager, and tried the two line changes listed above, separately. And I've purged expired cache.
Download this file to your desktop or Downloads folder.

Code: Select all

site_root/plugins/captcha/recaptcha/recaptcha.php
then open it with an editor, in line 58 you will find this

Code: Select all

self::RECAPTCHA_API_SECURE_SERVER;
change it with this

Code: Select all

self::RECAPTCHA_API_SERVER;
then upload this modified file to the same folder/place you download it from.
voila!

mwweb
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Tue Sep 20, 2011 4:51 pm
Contact:

Re: Joomla integrated captcha not working?

Post by mwweb » Fri Apr 27, 2012 5:32 pm

Tried that. Didn't work. I'm not using ssl
Char

"Remember there's no such thing as a small act of kindness. Every act creates a ripple with no logical end.". Scott Adams

mwweb
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Tue Sep 20, 2011 4:51 pm
Contact:

Re: Joomla integrated captcha not working?

Post by mwweb » Fri Apr 27, 2012 5:45 pm

Sounds like I'm having the same problem as cojimar. It only shows "Captcha*", but nothing else, and when I hit submit on the form I get a message "Empty solution not allowed."
I'm also having the problem in a third party extension and have tried the same solutions, but it's not working.
Char

"Remember there's no such thing as a small act of kindness. Every act creates a ripple with no logical end.". Scott Adams


Locked

Return to “General Questions/New to Joomla! 2.5”