i we use image_captcha module for all authentification (image is default), we have (drupal 6.13 on Debian Gnu/linux Lenny and pgsql).
we ask 4 caracters with no sensitive case
- sometime image has more than 4 caracters inside, when it is like that the caracters are sticky. and often is a special caracter like @,#,$,... (10% of authentification)
- When site is in maintenance mode, image_captcha is not use only math captcha.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | capchaex1.png | 2.07 KB | AldoReset |
Comments
Comment #1
soxofaan commented1) can you show some examples of this? what degree of distortion are you using? which font? what are the enabled characters (standard latin characters or non-latin)? are all enabled characters supported by the font?
2) math challenge in maintenance mode is a feature, not a bug. To cite the code:
Comment #2
soxofaan commented(better title)
Comment #3
AldoReset commentedone exemple in attach file
parameters are:
string: azertyuiopqsdfghjklmwxcvbn#$@€%§1234567890
Code lenght = 4
Font: built in
spacing: tight
color varation: none
distorsion level: low - 2.
noise level: 3
Comment #4
soxofaan commentedif you remove the special characters (#$@€%§), do you get normal behavior?
or even further: if you only use numbers as enabled characters?
Is it on a live site? I'd like to see more examples.
Comment #5
AldoReset commentedyep is a live site:
www.placenet.org
Comment #6
eMPee584 commentedI have something similar - since a while, seldomly the first character is not rendered in the 3 char image captcha.. wtf? it's really strange...
my settings are
i have set up a page for you to see it in action:
http://hfopi.org/captchaexamplesraw/image_captcha/Image/10
you can increase the number at the end to generate more but please don't go tooo far over the top ;)
Comment #7
soxofaan commentedat eMPee584 in #6: I think you have a different issue, discussed here: #349218: Sometimes first character of image CAPTCHA is invisible: weird bug in PHP's bounding box calculation
Comment #8
soxofaan commentedat AldoReset :
I think the problem is that you have the euro sign (and maybe the paragraph character "§" too) in your enabled characters and you use the PHP built-in font:
the euro sign is not valid for latin2 encoding (it requires something like utf8 encoding), but the PHP built-in font only works with latin2 encodable characters (see e.g. http:/php.net/manual/en/function.imagestring.php).
You have two options:
Please try both options and report the results for future reference.
I also feel a feature request coming up: raise error when using non-latin2 character set with built-in font (there is already be a warning/info message when using built-in font, but raising an error is better)
Comment #9
AldoReset commentedall seems ok after change string captcha image....
Comment #10
eMPee584 commented@aldoreset: it might be that this error is more often triggered on certain characters than on others.. (?!)
could you tell us from which to which allowed characters you changed?
Comment #11
soxofaan commentedyou can find the Latin2 character set (aka ISO 8859-2) at http://en.wikipedia.org/wiki/ISO/IEC_8859-2,
so if you only use the normal English characters a-z, A-Z and numbers, you should be safe
Also note that it is not a good idea to enable fancy characters in your image CAPTCHAs anyway: your visitors have to be able to recognize them and enter them with their keyboard.
Comment #12
soxofaan commentedadded check for non latin2 character when built in font is used
http://drupal.org/cvs?commit=256830
Comment #13
gobioasis commentedI've same problem :
image_captcha
characters : ФЦУЖЭНГГШҮЗКЪПДЛОРХАӨБЫЙЯЧЁСМИИТЬВЮ (mongolian cyrillic)
it doesnt recognize & match the user inserted code.
Comment #14
soxofaan commentedat shuvuu in #13: from your description it looks like your problem has nothing to do with this issue. Please open a new issue and describe more thoroughly. For example: do standard Latin2 characters (A-Z) work? What do you mean with "recognize & match"? Do the Cyrillic characters show up properly in the image? Etcetera.
Comment #15
eMPee584 commentedsoxofaan: i think #13 is about the bounding box issue. Please consider committing my fix from #349218: Sometimes first character of image CAPTCHA is invisible: weird bug in PHP's bounding box calculation, it really adds just one integer comparision per character as overhead.
Comment #16
gobioasis commentedLatin2 characters (A-Z) work,
cyrillic characters don't work,
cyrillic characters shown in image.