Lightbox2 Conflict in IE6 and IE7
mrgoltra - July 17, 2007 - 07:37
| Project: | reCAPTCHA |
| Version: | 5.x-2.x-dev |
| Component: | reCAPTCHA Captcha |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Good Day,
For some reason, recaptcha is not showing on IE 7. I have captcha points on register/request for new password set to recaptcha. Works on Firefox and Opera but not on IE7. Any reason why?
Any info is very much appreciated.
Thank you,
Mark

#1
Could it be your theme? Try a different one and see if that does it...
#2
Hi Rob,
Thank you for your support. I have stopped using captcha and recaptcha at this point till things settle down. I thank you for all your work and support. I wish I could do more to help.
I will give the new version a try. I could setup a site and report back to you.
Thank you,
Mark
#3
I'd say wait for Captcha 3.0 RC2 then.... reCAPTCHA already targets it. Hopefully the IE7 bug magically goes away.... Damn IE.
#4
On my site, it actually brought up an IE7 error that shut the page down/could not display error. When I removed the captcha on comments the error went away. No problems in firefox
#5
Are you still experiencing this?
#6
Hi Rob,
I emailed you some weeks ago regarding another problem. I informed you that I have planned not to use captcha till things settle down. I guess, for me, you can close this issue. I am not sure about dcypl.
Thank you,
Mark
#7
Hello,
Using the latest versions of recaptcha PHP and this module, both IE6 and IE7 are unable to load any pages at all with recaptcha on them. I get a very basic "IE cannot load this page" error with nothing more.
From the same browsers I can access other recaptcha (non-drupal) forms on wordpress blogs, etc.
I've gone back to a math captcha for now, but I like recaptcha and would like to return to it, so if I can help in any way lemme know! :)
s.
#8
#9
When I add reCAPTCHA validation to forms created by the webforms module I get this error in IE7.
The page partially loads, with the reCAPTCHA box in various states of loading.
Then an alert box with the text "Internet Explorer cannot open the Internet site http://[full address to node]. Operation aborted" is displayed. When the OK button it clicked a simple IE7 error page is displayed.
The issue does not seem to occur with other browsers or with IE7 using other captcha methods.
The issue also does not seem to occur with standard cck node forms.
#10
....Very strange.
#11
I should also note that I'm not using the webform module's captcha field; which doesn't appear to be working any more; but simply adding on the validation in the standard way, using captcha's administration link.
#12
I can reproduce this bug, but only on IE6.
I don't use the actual reCAPTCHA module. I just use the reCAPTCHA php code in the main content section of a page node.
Here are other reports about a similar issue:
http://www.ryangrant.net/archives/internet-explorer-cannot-open-the-inte...
http://www.nirmaltv.com/2007/08/08/how-to-fix-internet-explorer-cannot-o...
Note that the DEFER-trick doesn't work: The page is left deadlocked (possibly because the deferred script tries to write another script)?
So, Drupal's content area is loaded in such a way, that IE6 fails to load ReCaptcha's GetHTML function?
An answer from the reCAPTCHA support: "We've seen this problem a few times and are trying to nail it down."
#13
I just implemented it in my website and faces the same problem on IE7. This seems to only happen with Drupal as I have no problem with other sites running reCAPTCHA. Hope to have a solution soon as I really like this.
#14
Could you please try this in 5.x-2.5?
#15
Ok, it is still present in 5.x-2.5, but I was testing this out on a clean install and noticed that it worked there--which indicated either a theme or module conflict. I tested the theme with no change, so I started disabling my modules one by one. I found that in my environment, the culprit was the Lightbox2 module. I do have a few other javascript modules and some custom javascript in my theme, but that all appears to be playing nicely for now.
I'm not sure what the root of the issue is, but as a working fix you can block the Lighbox2 scripts from loading on specific URLs or URL patterns via a configuration option at admin/settings/lightbox2. After blocking my webform nodes, the reCAPTCHA section appears to be loading correctly now in both IE6 and IE7.
By the way, I had previously disabled Lightbox2 for any node/add urls, which is why they were working fine when the webforms weren't.
#16
renaming & lowering priority since it's fixable through the Lightbox2 module settings
I've left the issue open, because this isn't a complete fix. (for example, if someone wanted to have a comment form with reCAPTCHA on nodes that are actually using the Lightbox2 functionality.)
EDIT: set http://drupal.org/node/212754 as a duplicate.
#17
Any chance this is going to be fixed?
#18
I have the same issue. I'm getting the "Internet Explorer Cannot Open the Internet Site - Operation Aborted” error on every page we're using reCaptcha. This means also pages on which we're not using lightbox. I can confirm this doesn't happen with text or image captcha's.
The normal fix for this issue is to use drupal_add_js to put the scripts in the footer, and to make sure you're printing $closure right before
</body>in your theme. When you look at the code you'll see that a link like https://api-secure.recaptcha.net/challenge... is being loaded at the place where the reCaptcha should go. In this url you will see the following:document.write('<scr'+'ipt type="text/javascript" s'+'rc="' + RecaptchaState.server + 'js/recaptcha.js"></scr'+'ipt>');It is this line that is causing the error. Normally this document.write should happen right before
</body>. Since it doesn't, IE is spewing this error. More information can be found here: http://support.microsoft.com/default.aspx/kb/927917. Because of the way reCaptcha works, I'm not sure a fix exists.