Author Topic: captcha issue - fixed  (Read 8497 times)

0 Members and 1 Guest are viewing this topic.

TheStranger

  • Jr. Member
  • **
  • Posts: 2
captcha issue - fixed
« 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!

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: captcha issue - fixed
« Reply #1 on: August 21, 2009, 03:34:29 PM »
Thanks for the fix. Added to the sources.

gleon

  • Jr. Member
  • **
  • Posts: 1
Re: captcha issue - fixed
« Reply #2 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