Closed (fixed)
Project:
CAPTCHA Riddler
Version:
5.x-3.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2007 at 19:23 UTC
Updated:
11 Apr 2008 at 11:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
vm commentedbecause it is indeed working for many others, I suggest stating what version of token.module is being used. as well as
version of PHP ?
version of Apache ?
Try and give the developers something to go on, as your problem may be System specific.
Comment #2
soxofaan commentedthe error message "invalid captcha token" is typically because of a CAPTCHA API mismatch
Upgrade to CAPTCHA module v5.x-3.0-rc2 or later.
versions before 5.x-3.0-rc2 are known to be buggy/unusable
Also please state the precise version of the CAPTCHA base module and external CAPTCHA challenges (e.g. CAPTCHA pack, reCAPTCHA, etc). You specified version 5.x-2.0 for the CAPTCHA base module, is that right? That version is not available anymore from http://drupal.org/project/captcha .
Comment #3
robloachDo you still receive this error in Captcha 3.x?
Comment #4
skizzo commentedI am getting the "Invalid captcha token" error with
PHP 5.1.6 Apache/2
Captcha 5.x-3.0-rc3
Captcha Riddler 5.x-3.0
Token 5.x-1.8
- it works fine fin Math Question...
- is the Token module a requirement?
Comment #5
soxofaan commented"invalid captcha token" has nothing to do with the token module (CAPTCHA does not require token module), so that's not the problem.
The problem is that CAPTCHA riddler uses the old CAPTCHA API. this is a bug in CAPTCHA Riddler
at first sight (I didn't test this) in riddler.module:
"$form['value']" should be "$form['solution']"
"$form['form']['captcha_answer']" should be "$form['form']['captcha_response']"
Comment #6
robloachMoved to Captcha Riddler.....
Comment #7
robloach..... and here's the patch of soxofaan's fixes.
Comment #8
skizzo commentedtried it, indeed it fixes the "Invalid captcha token" error,
although now I get the "The answer you entered for the
captcha challenge was not correct" error, even if I enter
the correct answer. Should I open a Captcha Riddler issue?
Thank you.
Comment #9
soxofaan commentedanother mismatch in function riddler_captcha():
"case 'process' :" should be "case 'preprocess':"
Comment #10
skizzo commentedTested it.
It works smoothly now.
Thank you.
Comment #11
Artem commentedSince the attached patch is incomplete, I guess the status has to be changed to "code needs work".
Comment #12
Artem commentedI manually performed changes proposed by soxofaan. Looks like working. You can see it here
Comment #13
Dieter_be commentedApplied saxofaans patch and did the other modification too.
Seems to work :-)
Thanks!
Comment #14
demon326 commentedmm i'm still having the same prob after fixing the probs above....
Comment #15
JohnForsythe commentedHere's a combined patch with the above fixes. It works for me.
Comment #16
imerlin commentedPatched and commited in release 5.x-3.1
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.