I have some Problems with Captchas in Etomite 0.6.1.
The variable $_SESSION['captchaNumber'] is not set during the Generation of the Captcha. Therefore it's not possible to validate the captcha.
I checked the Sourcecode but didn't find any mistake. If a set it manualy during a snipped it works, but in the captcha-generation its not set (even trying a static value didn't work).
Has anyone encountered the same problem and has even a solution?
THX!
Problems with Captchas
Started by
Leomachogrande
, Nov 15 2008 10:02 PM
2 replies to this topic
#1
Posted 15 November 2008 - 10:02 PM
#2
Posted 15 November 2008 - 10:08 PM
If memory serves me correctly, the getCaptchaNumber function hasn't been improved as much as getCaptchaCode has... However, it may have been fixed in v1.x and it would be well worth the effort to upgrade...
#3
Posted 21 November 2008 - 08:58 AM
However, it may have been fixed in v1.x and it would be well worth the effort to upgrade...
This was reported as fixed for V0.6.1.5 in the bug tracker:
http://www.etomite.c...?cmd=view&id=12
However, this is the function from V1.1:
function getCaptchaNumber($length, $alt='Captcha Number', $title='Security Code') {
// returns a Captcha Number image to caller and stores value in $_SESSION['captchNumber']
// $length = number of digits to return
// $alt = alternate text if image cannot be displayed
// $title = message to display for onhover event
if($length < 1) return false;
return '<img src="./manager/includes/captchanumbers/captchaNumber.php?size='.$length.'" alt="'.$alt.'" title="'.$title.'" />';
}
It looks like the solution did not flow through to V1.0+
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











