Hi,

I am trying to implement reCAPTCHA on my website but it just won't work in IE7. It works perfectly fine in FF2. I do not have other browser to test.

In IE7, it will show the following message:
"Internet Explorer cannot open the Internet site http://www.abcde.com/

Operation aborted"

Once you click on OK, it will display the "Internet Explorer cannot display the webpage".

I have attached the screen shot of the error message. Please help.

CommentFileSizeAuthor
reCAPTCHA IE7 problem.png31.07 KBkeltong
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobLoach’s picture

Status: Active » Postponed (maintainer needs more info)

Does the same thing happen in 5.x-2.x-dev? It doesn't happen in Word CAPTCHA, does it?

keltong’s picture

It doesn't happen in Word CAPTCHA or Image CAPTCHA. Only in reCAPTCHA (which is the one I really like). And I setup a new website just to test the 5.x-2.x-dev version and guess what, it works fine. I notice it's only 1 day deference between this version and the official release version, is there something that you have change? Is it risky to use the dev version for my production site? Thanks.

RobLoach’s picture

Version: 5.x-2.4 » 5.x-2.5
Status: Postponed (maintainer needs more info) » Fixed

5.x-2.5 release should fix this problem then.

keltong’s picture

Status: Fixed » Active

Hi Rob,

The problem still exist. I run the 2 website side by side in the same IE7 browser under 2 tabs. The 5.x-2.x-dev version gives no such problem but in the 5.x-2.5 release the problem still exist. Just another note is that the reCAPTCHA image actually got loaded up but the message appear and once you click 'OK' everything is gone (as per previously described). What could be the problem?

Thanks.

Regards,
Kelvin

keltong’s picture

Ok...I did some more test and found out something strange. I use the same dev version that I setup on my test website for my production site. Guess what? It didn't work too!

So I test the 2.5 on my test website and it works perfectly. Anyone know what is happening?

The test site and the production site are both running the garland theme. So that rules it out. Can anyone tell me what could be the problem?

Thanks.

BTW, when I switch to image CAPTCHA the problem disappear.

RobLoach’s picture

This is very strange, because I can't reproduce the problem at all....

keltong’s picture

I totally understand what you mean. Coz even in my case I have 2 website testing it. One is ok while the other is not. What could go wrong? Is it something to do with the coding of the website? I don't believe I did much of any custom coding, most (if not all) shd be standard codes from drupal.

Is there anything you or anyone can think off that could coz this problem?

What I know that CANNOT be the problem (as I tried on 2 websites with these settings):
It CANNOT be IE7 problem
It CANNOT be Garland Theme problem
It CANNOT be reCAPTCHA problem

So the only thing I can think off is some codings on the problem website. Anyone with any idea what could coz the prob? I understand this is usually due to some javascript problem. Any idea?

iwankgb’s picture

reCaptcha support people claim that the reason is lack of compatibility between reCaptcha and Lightbox (http://groups.google.com/group/recaptcha/browse_thread/thread/0f24dff9c3...).

However this thread is 5 months old so I'm not sure if it's the same bug.

EDIT: Yes, it's Lightbox issue. After disabling Lightbox2 module for contact page everything works properly :]

ashtonium’s picture

Status: Active » Closed (duplicate)

yep, just go to /admin/settings/lightbox2 on your site and add the URL patterns for where you have reCAPTCHA enabled.

I'm setting this node as a duplicate of the earlier one at: http://drupal.org/node/159954

dhestlund’s picture

I'm having the same problem and I don't have lightbox installed. I do have javascript tools installed and dhtml menus and I think that's the problem. I've read a solution is to have recaptcha load after everything else on the page is processed, but I don't know enough to try that myself. I'll be using the math captcha for now, but please let me know if I can help test.

dhestlund’s picture

BTW I've also seen some people have tried the dev version with limited success. It didn't work for me.

kevinquillen’s picture

I've received this error before too, and it was due to javascript incompatability.

Are you displaying a Google Map on the same page as a form with a CAPTCHA? That's where it got me. Lightbox2 will cause problems as well.

dhestlund’s picture

I'm using javascript tools and dhtml menus. Sounds like some general javascript incompatibility. I'll have to switch to image captcha until this is resolved.

One weird thing to note is that it's not consistent. I was experiencing it the other day on my IE7 installation and now it works fine on mine but my boss gets the error (no good!). *Sigh*

betsonthomas’s picture

Please Note: I'm not using the reCaptcha module but perhaps this info will lead to a fix.

I solved this issue by using the AJAX function to display reCaptcha on load of the body tag of the webpage. (I noticed that everytime this error occurred, part of my webpage was missing.) Info on the reCaptcha AJAX functions can be found here: http://recaptcha.net/apidocs/captcha/client.html As well as a demo of it in action here: http://recaptcha.net/fastcgi/demo/ajax

adammichaelroach’s picture

I was having this problem, not only with IE7, but 6 and up. I updated to the latest versions of the reCaptcha and lightbox modules. Problem solved.

adammichaelroach’s picture

Turns out the problem actually lies in where <?php print $closure; ?> was located. I moved it to just above </body> and everything works. Read more about it here: http://drupal.org/node/159954#comment-817203

syngi’s picture

I had a similar problem, but I'm not sure it's due to the reCaptcha module or the signup module. Anyhow I fixed this by putting the code inside the file 'misc/collapse.js' below "// Turn the legend into a clickable link and wrap the contents of the fieldset" (line 62-73) in a setTimeout to delay it:

setTimeout((function (scope) {
	return function()
	{
		(function(){

			// Turn the legend i...
			........fieldset.children(':not(legend)')));

		}).call(scope);
	}
})(this), (navigator.appVersion.indexOf("MSIE") != -1 && parseFloat(navigator.appVersion.split("MSIE")[1]) <= 7 ? 500 : 0));

I'm using Drupal 5.5, signup-5.x-1.0, recaptcha-5.x-2.5 (I also tried signup-5.x-2.7 but that didn't help)