Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Author Marcel Pol

    (@mpol)

    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 :).

    Thread Starter nigg

    (@nigg)

    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.

    Plugin Author Marcel Pol

    (@mpol)

    Hmm…
    I will make a debug release which will give some more info. Won’t happen today, I hope tomorrow.

    Thread Starter nigg

    (@nigg)

    Many thanks in advance. Let me know If I could help with debug data.

    Plugin Author Marcel Pol

    (@mpol)

    Hi, can you try the version from https://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?

    Thread Starter nigg

    (@nigg)

    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.
    Plugin Author Marcel Pol

    (@mpol)

    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”.

    Thread Starter nigg

    (@nigg)

    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.

    Plugin Author Marcel Pol

    (@mpol)

    I think they have their own class.

    Plugin Author Marcel Pol

    (@mpol)

    Hi, could you try the version from:
    https://timelord.nl/tmp ?
    It only has reCAPTCHA for PHP 5.3+ btw.

    Thread Starter nigg

    (@nigg)

    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
    Plugin Author Marcel Pol

    (@mpol)

    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

    Thread Starter nigg

    (@nigg)

    hhm..

    json
    
    json support	enabled
    json version	1.2.1
    Plugin Author Marcel Pol

    (@mpol)

    Hmm, annoying.
    Could you try with the latest zipfile?

    Here I get a json string like:
    { “success”: false }

    Thread Starter nigg

    (@nigg)

    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.
Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘reCAPTCHA Key error’ is closed to new replies.