Anti Spam not working properly

raffaele.jacovelli 21 Jan, 2011
Hi,

I've got a problem with the anti spam. In the Captcha settings, if you choose the option without fonts, work properly, while if I activate with fonts (which is the option I prefer), I've realized that some time it actually shows the image, sometimes not. Trying to reload the page it might work or not, but is unpredictable. some time with IE right clicking show image does work, but normally comes up with a question mark on the image. in Chrome similar problem. Any advise? it looks like as if it could not find the image, although some time it does without changing anything to the code...

here is the link:

http://www.hightechpartners.com/index.php/component/chronocontact/?chronoformname=FullProfileRegistration
GreyHead 21 Jan, 2011
Hi rafaele.jacovelli,

I'm not sure, I haven't see that behaviour before. The image is generated OK - you can see it here. Each time you refresh there's a new image. But it rarely makes it into the browser page :-(

It might be simplest to try switching over to ReCaptcha.

Bob
nml375 21 Jan, 2011
Hi,
Just had a look at it, and occasionally, there are a few warnings during the image creation. It seems more common for new sessions though. The error text is as follows:
Warning:  imagecreatetruecolor(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 37
Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 40
Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 41
Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 42
Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 43
Warning:  imagefilledrectangle(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 44
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php</b> on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 70
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 86
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 86
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 86
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 86
Warning:  imagettftext() expects parameter 1 to be resource, boolean given in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 86
Warning:  imagepng(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 92
Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/httpd/hightechpartners.com/www/web/components/com_chronocontact/chrono_verification.php on line 93

It's quite a bunch of them, though they all depend on the first warning. Simplified though, the GD library thinks that the requested image size is too large to handle. Unfortunately, I don't have any good ideas as to why this happens on a random basis (as long as the font remains the same, the calculated size should so aswell).

/Fredrik
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger