General > Support
captcha issue - fixed
(1/1)
TheStranger:
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: ---if (function_exists('imageantialias')) {
imageantialias($image, true);
}
--- End code ---
Now the codeimage was created and displayed!
Inspirer:
Thanks for the fix. Added to the sources.
gleon:
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
Navigation
[0] Message Index
Go to full version