Correct answers reported as incorrect

elizabeth.wood11 - May 20, 2007 - 16:44
Project:Captcha Riddler
Version:5.x-3.1
Component:Code
Category:bug report
Priority:critical
Assigned:imerlin
Status:postponed (maintainer needs more info)
Description

When I test the riddler as an anonymous user or a registered user, and I give a correct answer to the captcha riddler, I get a reply that my answer was incorrect. If I am logged in as a "registered user" I am allowed to post my comment anyway (though I think lots of registered users wouldn't continue through to click "post comment" after being told their captcha response was incorrect).

Any idea why the "incorrect response" message comes up even when the response is definitely correct?

#1

imerlin - May 20, 2007 - 20:36
Assigned to:Anonymous» imerlin

This sounds really weird since in fact after I started using the Captcha API there's not that much in the Riddler code that verifies the form.

Are you using any international characters or upper-/lowercase in your answer?

Would help if you'd post your question/answer here or even give me a demo.

#2

elizabeth.wood11 - May 20, 2007 - 22:17

I'm not using any international characters in the question or the answer.

The question was "What is the second word in the first menu tab at the top of the page" and the answer was "us."

I disabled the module but if you think it would be helpful I will enable it again. (The site is in development at http://drupal.craigambrose.com ) I also discovered that even though I'd set the captcha points such that Administrators and Editors would never be challenged with a captcha, when logged in as Administrator I was indeed being challenged. This did not happen when I was just using the math problem captchas before installing the riddler. On the other hand, when I was using the math problem captchas users were being told their answers were incorrect before entering an answer, but when they did enter the correct answer their answers were accepted.

#3

elizabeth.wood11 - May 20, 2007 - 22:28

Is it possible that the problem comes from the version of Captcha that I'm using? I'm using Captcha 5.x-2.1, but Riddler is marked as 5.x-1.2.

#4

imerlin - May 21, 2007 - 09:04

The versions are right. I just tried your site and I was unable to submit a commend without the right word and able to send it to moderation with the right word.

Looks like normal.

#5

elizabeth.wood11 - May 21, 2007 - 15:51

Thanks for following up, Imerlin. It's interesting. Your comment came through without being held for moderation. And then when I tried as an unregistered visitor this morning I had the same problems as yesterday. My comment goes through if I provide the correct answer, but I still get a message that says my answer is incorrect. If I ignore that message and click "submit" anyway, the comment goes through.

I'm grateful for your help. I think for now I'm going to leave it off so that users of the site don't get confused by the message.

#6

imerlin - May 21, 2007 - 20:01

Not sure how to explain this.

I'd like to the able to reproduce this. I didn't get any errors when I tried your site using the right word. What browser/os are you using?

I'm using Firefox2 on Linux.

#7

David Goodwin - May 23, 2007 - 13:38

I'm getting the same problem :

Drupal 5.1 (2007/01/29)
Captcha-5.x-2.1
Riddler-5.2-1.1.tar.gz

My question is : 2+2 = ?
Where the answer is : 4

See http://www.codepoets.co.uk - all comments enter a moderation queue, so if you feel like playing around, just stick 'Riddler Test' or something obvious in the subject....

#8

imerlin - May 24, 2007 - 06:57

Works for me as well. What browser/os, are you using?

If you do a 'preview' of your comment, does it also complain there? If it does, please provide a screenshot.

#9

David Goodwin - May 25, 2007 - 06:02

Hi,

Browser: Firefox 2 on either Ubuntu Edgy or MacOSX.

If I do a preview it still fails.

Thanks
David.

#10

imerlin - May 25, 2007 - 09:16

Just tried this on your site with both Firefox 2 and Safari on my Macbook. No problems, whatsoever.

If anyone can reproduce this and send me screenshots, that would be great.

This however reminds me of something people complained to me about when I was running the Captcha module some time ago. Getting 'wrong' for right answers. Try deleting any cookies you might have for the website, restart your browser and try again.

It is highly unlikely that this bug is limited to the Riddler module.

#11

David Goodwin - May 25, 2007 - 12:49

Ah; deleting any existing cookies, and viewing the site as 'Anonymous' works fine. I.e. the captcha question works properly.

If I authenticate myself, then I have to submit the form twice.

Odd. Thanks for the suggestions and help.

#12

imerlin - May 27, 2007 - 13:34
Status:active» postponed

There is absolutely no session code in the Riddler module so this has to be caused by the Captcha module. Changing status to 'postponed' until I can pinpoint where the problem is and reassign this to the Captcha module.

#13

gagarine - September 2, 2007 - 08:45

Nice idea the riddler module :).
I have the same problem, i clear all session data but that change any thins. If i don't use the Riddler module but just a math chalenge all work fine.
I have alway the message "Invalid captcha token.".

My system:
Ubuntu feisty
Firefox + ie4linux
apache 2 + PHP5 + MySQL 4 (locahost)

#14

JasonMR - September 10, 2007 - 14:15
Version:5.x-1.2» 5.x-3.0
Category:support request» bug report
Priority:normal» critical
Status:postponed» active

I was just informed of the problem by one of the few people that actually visit my site, besides spam bots. It would display an error message, but still submit the comment. So I've upgraded from 1.2 to 3.0 and now it doesn't work at all, displaying the same error message as Gagarine "Invalid captcha token.".

The site is hosted with hostgator:
linux kernel 2.6.17.11-grsechg
apache 1.3.37
php 4.4.4

#15

engineindustries - October 11, 2007 - 00:01

This is happening to me as well. Using FF2.0.0.7 and OSX - Drupal 5.1 I have attached a screenshot. I'll use the Math one for now. Thanks.

AttachmentSize
Picture 3_15.png 37.13 KB

#16

imerlin - March 28, 2008 - 11:54
Status:active» closed

Just released a new version, please report again if problem persists.

#17

actdigital - June 26, 2008 - 20:05
Version:5.x-3.0» 5.x-3.1
Component:User interface» Code
Status:closed» active

Hello.
I've been having this issue as well for some time, and this has continued after the 3.1 release. The other Captcha sub-modules work correctly now, but Riddler does not (it rejects the answer every time.) This has been tested on Firefox 2 on both Windows XP and Mac OS X 10.4 and 10.5, and Safari 3.1 in Mac 10.4 and 10.5. I'm running Captcha 3.1, Captcha pack 1.1 and Drupal 5.7. I want to keep Riddler going because it's a very nice module, but I'll need to turn it off if it continues blocking people unnecessarily.

Thanks for your help!
-Michael

#18

actdigital - July 28, 2008 - 23:51

This problem has continued - other captcha modules do not have this problem.
Any progress?
Thanks for your help.
-MIchael

#19

imerlin - August 22, 2008 - 09:19
Status:active» postponed (maintainer needs more info)

What answers/questions are you using? I can't fix unless I can reproduce... So, no... no progress.

#20

actdigital - August 25, 2008 - 20:16

I have tried many many questions and answers. None have punctuation in the answer, none have numbers. They are all just simple one word alphabetical answers. Unfortunately none of them work.
One such question is "What city are we located?" answer:seattle. (Answer tried with caps or without, this doesn't matter)
The answer was always rejected, every single time.
This would be a great addition to the Captcha arsenal, but I've had to disable it. It has never worked for me.

Thanks,
-Michael

 
 

Drupal is a registered trademark of Dries Buytaert.