Mibew Messenger Community

General => Support => Topic started by: TheStranger on August 21, 2009, 10:50:43 AM

Title: captcha issue - fixed
Post by: TheStranger on August 21, 2009, 10:50:43 AM
Hi,

today i updatet my Webim to v1.6.2 but the captcha doesn't show in the "leave message" formular.
I open the captcha.php in my browser and get the following error:

Fatal error: Call to undefined function: imageantialias() in .../html/webim/libs/captcha.php on line 36

I edit this line to:

Code: [Select]
if (function_exists('imageantialias')) {
imageantialias($image, true);
}

Now the codeimage was created and displayed!
Title: Re: captcha issue - fixed
Post by: Inspirer on August 21, 2009, 03:34:29 PM
Thanks for the fix. Added to the sources.
Title: Re: captcha issue - fixed
Post by: gleon on August 22, 2009, 04:02:11 PM
Have the same problem added the code to line 36 but still no captcha

change this:

    //Create the image resource
    $image = ImageCreate($width, $height);
    imageantialias($image, true);
to

if (function_exists('imageantialias')) {
imageantialias($image, true);
}

thanks in advance