Closed (fixed)
Project:
Textimage
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 Jan 2007 at 04:35 UTC
Updated:
14 Feb 2007 at 12:31 UTC
Hi everyone,
For some reason, I cannot get any captcha images showing up in any forms. There's no errors in the logs, or anything to explain why this is the case too, so I am asking here, if anyone has come across the same problem. Below is an explanation of what I have done.
Have I missed something obvious here.?
Thanks.
Comments
Comment #1
sl27257Hi,
I have the same problem. In my case it has worked before.
Comment #2
heine commentedNew releases will be made available.
Comment #3
heine commentedSee SA-2007-007 - response validation bypass.
Comment #4
wundo commentedDid you set the user permisions?
@Heine, I think your commit don't solve that kind of problem it just solves the broken session validation... ;)
Comment #5
heine commentedThe textimage captcha did not show because it already passed validation.
Comment #6
wundo commentedHmmm, ok, so let wait from optik confirm if the new version resolved the problem. ;)
Comment #7
Maistra commentedI had a similar problem and i noticed it missed the :
captcha_perm function..
so i adopted it from the 5.0 version
function captcha_perm() {
return array('access captchas');
}
hope it helps
Comment #8
alexkb commentedThansk for the prompt replies everyone, you guys are great!
wundo: Yes I did set the permissions, see point #6 of the post.
Heine: Looks like that fixed it - the images are now being displayed, however, whenever a form is loaded, the captchavalidate error is showed - almost as if, the form had already been submitted.
I made a slight adjustment to fix this problem, simply by adding a condition in the textimage_captchavalidate function, before the call to the set_error (line 39):
I've tested it, and it seems to work fine, but it's probably not the right way to do things, so if someone could implement a better fix, please post :)
Comment #9
heine commentedMarking this fixed.
Other issue: http://drupal.org/node/114387 (for both captcha and textimage).
Comment #10
(not verified) commented