I'm having some trouble with the CAPTCHA module in IE6.

Basically, the CAPTCHA image is not showing up in IE6, but IS showing up in FireFox, Safari and IE7.

Does anyone have any ideas as to why this isn't working?

Comments

soxofaan’s picture

Status: Active » Postponed (maintainer needs more info)

can you provide more information on you setup?

For example there is already a bug in the tracker about IE + iframes: http://drupal.org/node/180047

Another possible cause is that the image CAPTCHA can only be requested once. To disable this feature, comment/remove the second line of the following in image_captcha.module (around line 390):

  // unset the code from $_SESSION to prevent rerendering the CAPTCHA
  unset($_SESSION['image_captcha'][$seed]);

and look if the problem still occurs

chris.wells’s picture

Sure thing.

The CAPTCHA is placed at the bottom of a webform page, not in an iFrame or anything like that.

There is no special formatting on the webform outside of a width, i have changed some of the options for the CAPTCHA, but only the font and how the image is displayed. When the error occurs in IE6, I get the little red X to say that the image cannot be found and the ALT attribute displays - but this just says 'Image CAPTCHA'.

If you want any more information, let me know what and I'll try to get it to you.

soxofaan’s picture

What happens when you comment/remove that line 390 (see #1)?

Did you try IE6 on different computers, from different locations?

Are there some proxy or caching mechanisms in your setup?

chris.wells’s picture

I've just had it tested on a native IE6 (remembered mine was a standalone running on a virtual machine with IE7 as native) and it works fine.

When I tried it after commenting out the line it didn't seem to work on my test box. But it seems to be working on native machines now - so I'll leave well enough alone I think.

Thanks for your help.

kriskd’s picture

I think I'm running into a similar issue. I have mine set so that once the user passes the CAPTCHA, they won't be required to enter it again. However, when presented with the form again, a broken image appears instead of no image at all. Unfortunately I'm not on a computer with IE6 at the moment. I will confirm these results when I can.

soxofaan’s picture

Closing old/outdated issues for 5.x releases, which is officially unsupported now.

If this issue still exists for Drupal6 or Drupal7, please reopen (and update the version)

soxofaan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)