What other application or plugin are you using?
It could be that the other plugin is already loading the reCAPTCHA class, but an older version. That way our version won’t work.
Did you get an error or warning on the settings page?
Maybe we can figure it out. But it could also be that it won’t work in your setup. Then the Custom anti-spam question might suit you better. I think that is a better option anyway :).
Recaptcha is working for login-page, user registration and contact form 7. The plugin is called “Advanced noCaptcha reCaptcha” which integrates with the contact form 7 plugin.
But Gwolle recaptcha don’t work, even if I disable contact form 7 and its recaptcha addon.
Hmm…
I will make a debug release which will give some more info. Won’t happen today, I hope tomorrow.
Many thanks in advance. Let me know If I could help with debug data.
Hi, can you try the version from http://timelord.nl/tmp/ ?
On my testinstall I see messages like:
reCAPTCHA is enabled in Settings.
reCAPTCHA keys are set.
reCAPTCHA class does not exist yet, loading from this plugin.
reCAPTCHA classes do exist, continue using them.
return from reCAPTCHA: ReCaptchaResponse Object ( [success] => 1 [errorCodes] => )
Can you tell me what you see after submitting a message with reCAPTCHA enabled?
reCAPTCHA is enabled in Settings.
reCAPTCHA keys are set.
reCAPTCHA class does not exist yet, loading from this plugin.
reCAPTCHA classes do exist, continue using them.
return from reCAPTCHA: ReCaptchaResponse Object ( [success] => [errorCodes] => )
Beim Speichern des Gästebuch-Eintrags sind Fehler aufgetreten.
Der reCAPTCHA-Schlüssel wurde nicht korrekt eingetragen, obwohl er erforderlich ist.
Ah, so for the plugin everything works correctly. But reCAPTCHA itself doesn’t return a success.
I am not sure how to debug this futcher, unless I start digging inside reCAPTCHA itself.
On Github I see a new version. I will integrate it and get back to you. It might fix this issue. You are not the first with no “success”.
Okay great, thanks for your efforts. I can say that the “Advanced noCaptcha reCaptcha” -plugin works, maybe they use a newer version of the class.
I think they have their own class.
Hi, could you try the version from:
http://timelord.nl/tmp ?
It only has reCAPTCHA for PHP 5.3+ btw.
Hi, getting this:
Array
ReCaptcha\Response Object ( [success:ReCaptcha\Response:private] => [errorCodes:ReCaptcha\Response:private] => Array ( [0] => invalid-json ))
Beim Speichern des Gästebuch-Eintrags sind Fehler aufgetreten.
Der reCAPTCHA-Schlüssel wurde nicht korrekt eingetragen, obwohl er erforderlich ist.
php --version
PHP 5.4.41-0+deb7u1 (cli) (built: May 22 2015 12:49:18)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v2.0.0, Copyright (c) 2005-2012, by mOo
When you run phpinfo(), do you have JSON enabled?
I have this in PHP 5.5:
json support enabled
json version 1.3.7
JSON-C headers version 0.11.99
JSON-C library version 0.11.99
hhm..
json
json support enabled
json version 1.2.1
Hmm, annoying.
Could you try with the latest zipfile?
Here I get a json string like:
{ “success”: false }
Array
ReCaptcha\Response Object ( [success:ReCaptcha\Response:private] => [errorCodes:ReCaptcha\Response:private] => Array ( [0] => invalid-json ) )
Beim Speichern des Gästebuch-Eintrags sind Fehler aufgetreten.
Der reCAPTCHA-Schlüssel wurde nicht korrekt eingetragen, obwohl er erforderlich ist.