MyBB Community Forums

Full Version: Image Verification = Blank?!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
See for yourself.

[Image: imageverifykr9.gif]
http://gantdesigns.com/board/member.php?action=register

MyBB version: 1.2.2
PHP version: 5.2.0
DB version: MySQLi 4.1.21

I confirmed that CAPTCHA is on and I checked to see if GD is on, but I get the following error, "Warning: phpinfo() has been disabled for security reasons in".

I also checked http://gantdesigns.com/board/captcha.php , but no cigar.

I don't understand what's going on? No wonder I am getting well over 800 visitors, but no one is registering on my forums.

I hope someone can assist me on this.

Thanks.
Turn off captcha for now. You might not have GD installed. Check with your host.
Can you please see if this file does anything 'different': http://community.mybboard.net/attachment.php?aid=4999

You need to tell your host to allow GD, or you will have to turn off captcha verification.
Tikitiki Wrote:Can you please see if this file does anything 'different': http://community.mybboard.net/attachment.php?aid=4999

You need to tell your host to allow GD, or you will have to turn off captcha verification.

Yes, but it does not work.

I tried checking the GD with var_dump(gd_info());
Quote:array(12) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XPM Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}

It seems to me that GD is enabled.
What's interesting is that the text is being shown, it just is in white and not any other colour.

Example: http://gantdesigns.com/board/captcha.php?imagehash=test

Can you try deleting the files in inc/captcha_fonts/ and load the above image again - it should render with the internal GD fonts.

If that fixes it, try uploading the fonts again but make sure you upload them in binary mode.

Chris
Chris Boulton Wrote:What's interesting is that the text is being shown, it just is in white and not any other colour.

Example: http://gantdesigns.com/board/captcha.php?imagehash=test

Can you try deleting the files in inc/captcha_fonts/ and load the above image again - it should render with the internal GD fonts.

If that fixes it, try uploading the fonts again but make sure you upload them in binary mode.

Chris

How can you upload the files in binary mode?
In your FTP client you use, there should be a 'ASCII' option and a 'Binary' option (usually marked by a symbol). You should select the 'Binary' option and proceed to overwrite the fonts with the one in binary mode.

If you can't find it I suggest you consult the help documents from your FTP's site.
captcha.php needs to be uploaded in ASCII mode as with any other PHP script.

The TTF fonts in inc/captcha_fonts directory are what need to be uploaded in binary mode - but your FTP client should do that automatically if the transfer mode is set to "Auto"
Chris Boulton Wrote:captcha.php needs to be uploaded in ASCII mode as with any other PHP script.

The TTF fonts in inc/captcha_fonts directory are what need to be uploaded in binary mode - but your FTP client should do that automatically if the transfer mode is set to "Auto"

There may be a setting in your FTP client's configuration that defines which file extensions are considered text. If there is a setting, ensure that .html, .php, .css, .xml, among others are in that list Smile
I will keep you guys updated with the issue. As of now, just relaxing, playing some games. I will be right back, within a day or two.
Pages: 1 2