CAPTCHA image not loading
Our registration page (users_registration.php) is not showing the security image.
What am I doing wrong?
Most likely your host has not enabled the GD or TrueType libraries in the PHP installation.
going dirextly to the page that should generate the capthcha image:
gives an internal erver error.
add the following code at line 1 of that file:
That should display the actual error. My guess is that the actual error is going to say that a function is undefined. this happens when the GD Library is not enabled on the server, the host will need to correct the problem.
I have enabled the GD Libraries and added the following to the top of the suggested page:
but it has not made any difference.
Sorry, I had a syntax error in my error reporting code, it should be:
if that does not show an error on the page, than you will need to contact the host to have them look into the error log to find out what the error is. once we know the error, we can troubleshoot the cause.
I am having the same error., when I added the php script as you suggested, I received the following error:
Fatal error: Call to undefined function imagettfbbox() in /home/zbiz/public_html/webassist/captcha/wavt_captchasecurityimages.php on line 138
this means that your host has not enabled the GD or TrueType libraries in the PHP installation.
you will need to contact the host to have them enable those libraries.
I've rebuilt my PHP making sure to add the GD library and Freetype...now I get this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/zbiz/public_html/webassist/captcha/wavt_captchasecurityimages.php:7) in /home/zbiz/public_html/webassist/captcha/wavt_captchasecurityimages.php on line 169
I'll need to troubleshoot directly, see the private message section.
info requested has been added to private message section.
in the webassist/captcha/wavt_captchasecurityimages.php file, you had left blank lines between the error reporting code and the next opening php tag:
the blank lines caused the error.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.