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?
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | Picture 3_15.png | 37.13 KB | benmmc |
Comments
Comment #1
imerlin commentedThis 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.
Comment #2
elizabeth.wood11 commentedI'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.
Comment #3
elizabeth.wood11 commentedIs 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.
Comment #4
imerlin commentedThe 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.
Comment #5
elizabeth.wood11 commentedThanks 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.
Comment #6
imerlin commentedNot 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.
Comment #7
David Goodwin commentedI'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....
Comment #8
imerlin commentedWorks 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.
Comment #9
David Goodwin commentedHi,
Browser: Firefox 2 on either Ubuntu Edgy or MacOSX.
If I do a preview it still fails.
Thanks
David.
Comment #10
imerlin commentedJust 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.
Comment #11
David Goodwin commentedAh; 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.
Comment #12
imerlin commentedThere 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.
Comment #13
gagarine commentedNice 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)
Comment #14
JasonMR commentedI 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
Comment #15
benmmc commentedThis 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.
Comment #16
imerlin commentedJust released a new version, please report again if problem persists.
Comment #17
actdigital commentedHello.
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
Comment #18
actdigital commentedThis problem has continued - other captcha modules do not have this problem.
Any progress?
Thanks for your help.
-MIchael
Comment #19
imerlin commentedWhat answers/questions are you using? I can't fix unless I can reproduce... So, no... no progress.
Comment #20
actdigital commentedI 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
Comment #21
colemanw commentedThis module always worked fine for me. However, after upgrading to the latest version of Captcha last week, now all questions for which there is more than one possible answer do not work. Regardless of which correct answer is given, they are always reported as incorrect. Questions that have only one right answer still seem to work however.
Comment #22
awolfey commentedI can't duplicate this on the current supported Captcha with either the official or dev release of Riddler. Can you check which versions you're using and give any steps to duplicate the problem? Thanks.
Comment #23
colemanw commentedI tried both comma separated and space separated answers.
I was using:
Drupal 6.20
Captcha 2.4
Riddler 1.1
I tried downgrading to Captcha 2.3, and unfortunately the problem persisted. I continued to test and continued to get the results described above. Only single-answer questions will pass.
Comment #24
awolfey commentedWhat version of PHP?
What are the questions and anwers that are failing?
Thanks
Comment #25
colemanw commentedPHP 5.2 fast cgi (standard Dreamhost package)
The questions were all lowercase one-word english words (like tree)
Answers given in the same fashion.
Comment #26
awolfey commentedI still can't reproduce. Please configure Captcha to Log wrong responses and the check watchdog and copy the detail message back here. Thanks.
Comment #27
colemanw commentedWe have been logging. Here's an example from the logs (no pun intended):
user_register post blocked by CAPTCHA module: challenge "Riddler" (by module "riddler"), user answered "wood", but the solution was "wood,logs,firewood,trees".
Comment #28
awolfey commentedOK, now that helps. I just duplicated the error and commited a fix to 6.x and 7.x branches. The problem was the module was not expecting comma separated values without a space also.
Wait for the new dev package or grab the .module file from git.
Report back if it works and I'll make a new release.
Comment #30
ljgra commentedI'm having the same issue, Drupal 7, PHP 7.1
I can't see any fix here...