Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get the error
Call to undefined function recaptcha_get_signup_url() in /.../drupal-7.14/sites/all/modules/recaptcha/recaptcha.admin.inc on line 21
which I try to configure reCAPTCHA
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#2 | recaptcha_1921794_check_module_load.patch | 1.5 KB | Liam Morland |
#1 | recaptcha_1921794_check_module_load.patch | 1.5 KB | Liam Morland |
Comments
Comment #1
Liam MorlandIf recaptcha_get_signup_url() does not exist, it means recaptchalib failed to load in the call to module_load_include() in _recaptcha_load_library() at the bottom of recaptcha.module. I don't know why that would happen. Check that the file "recaptcha-php-1.11/recaptchalib.php" exists inside the recaptcha module directory and is readable.
Try this patch. It should give a better error message instead of white screen when the library doesn't load.
Comment #2
Liam MorlandSorry, use this patch. The other had a deliberately broken library path for testing purposes.
Comment #3
Liam Morlandhttp://drupalcode.org/project/recaptcha.git/commitdiff/a008f74
Comment #4
Liam MorlandComment #8
hass CreditAttribution: hass commented