Closed (fixed)
Project:
reCAPTCHA
Version:
6.x-1.x-dev
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2013 at 19:42 UTC
Updated:
15 Jun 2015 at 22:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Chad_Dupuis commentedUploaded the latest dev of recaptcha (which fixed one error I was seeing) and then installed jquery_update and all is well except for some strange conflict with ckeditor....
Pages with ckeditor and recaptcha installed get a blank ckeditor
Pages without recaptcha or with a math captcha work fine...
The error I see is:
TypeError: Drupal.settings.ckeditor is undefined
[Break On This Error]
window.CKEDITOR_BASEPATH = Drupal.settings.ckeditor.editor_path;
But without recaptcha it works fine .... also with js aggregation off it works fine (not the setting in the ckeditor module, but with caching and aggregation shut off within aegir/omega8 hosting)?
Comment #2
Chad_Dupuis commentedThis appears to be just a ckeditor issue... although proper functioning of recaptcha on my site at least seemed to require jquery_update and the latest dev, so I'll leave this open for that reason...
Comment #3
liam morlandThe only substantive change between reCAPTCHA 1.9 (latest) and -dev is #1826404: ReCaptchaState undefined, skip comment approval. This changes which of Google's JS files is used. That change might be what fixes your main problem.
What remains is a possible bug report. Does anyone else find they need jQuery Update? If so, I will make that a dependency of this module. Everyone: Please let me know whether or not reCAPTCHA works for you with and without jQuery update.
Comment #4
liam morlandI have noted the possible need for jQuery Update on the module page. It does not seem to be required by everyone, so I will not make it a module dependency.
Comment #5
robloachThanks Liam!
Comment #6
tstermitzI have seen a similar issue where reCaptcha was conflicting with my javascript validation scrpits on the entityforms module. When I'm logged in as admin, my validation script worked fine, but not for anonymous users. Changing to the math Captcha made my scripts work again.
And, I haven't been using jQuery update.
Ahah. Downloading jQuery Update, and enabling it... now my scripts function.
Comment #7
hswong3i commentedFor my case recaptcha-7.x-1.x conflict with http://drupal.org/project/prettify 7.x-1.0-beta1:
Most likely confirm that latest recaptcha REQUIRE jquery_update for complete and expected compatibility with else modules :-(
P.S. I also find that when check with Firebug (recaptcha-7.x-1.x-dev on, prettify on, jquery_update off), following error message show up:
for jquery.js?v=1.4.4 (line 27)
Screenshot:

Shall this file as another bug report, or we just simply include jquery_update into dependency so get simple fix?
Comment #8
liam morlandIt already says on the project page that jQuery update may be needed. I don't want to make it a hard dependency because there may be people who don't need or want to use it. I will add a note about this to the README.
Comment #9
liam morlandhttp://drupalcode.org/project/recaptcha.git/commitdiff/2ac2b51
Comment #10
liam morlandComment #14
hass commentedCan someone of you try 2.x branches and confirm if these also require jquery_update or make this obsolete, please?
Comment #15
hass commented