close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CAPTCHA image not loading

Thread began 5/03/2011 3:34 am by kevin.preston332611 | Last modified 6/13/2013 11:42 am by Jason Byrnes | 5198 views | 9 replies |

kevin.preston332611

CAPTCHA image not loading

Hi,

Our registration page (users_registration.php) is not showing the security image.

What am I doing wrong?

Cheers,
Kevin,

Sign in to reply to this post

Jason ByrnesWebAssist

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:
WAVT_CaptchaSecurityImages.php

gives an internal erver error.

add the following code at line 1 of that file:

php:
<?php
error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



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.

Sign in to reply to this post

kevin.preston332611

I have enabled the GD Libraries and added the following to the top of the suggested page:

<?php
error_reporting(E_ALL);
ini_set9('display_errors','on');
?>

but it has not made any difference.

Cheers,
Kevin.

Sign in to reply to this post

Jason ByrnesWebAssist

Sorry, I had a syntax error in my error reporting code, it should be:

php:
<?php
error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



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.

Sign in to reply to this post

q_carlos322496

captcha not showing up in security assist pages

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

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

q_carlos322496

captcha not showing up in security assist pages

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

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

q_carlos322496

captcha troubleshoot

info requested has been added to private message section.

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/captcha/wavt_captchasecurityimages.php file, you had left blank lines between the error reporting code and the next opening php tag:


<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>


<?php
@session_start();
....




the blank lines caused the error.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...