MyBB Community Forums

Full Version: Another Captcha image error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
as attached, the images are not showing up, I have FTP'd the files inc/captcha_fonts in binary mode, and re-FTP'd the captcha.php file, but the problem persists.

[Image: testlog.jpg]
URL??
Go to ACP > Tools & Maintenance > PHP Info > and do a page search for 'gd', there should be a heading called 'gd', post the contents of the gd table here.
Got this error when I tried to access the image directly (in firefox): The image “http://www.bmwfanatics.co.za/captcha.php?action=regimage&imagehash=19a4bc91e323514e096b775d6873ec57” cannot be displayed, because it contains errors.

Something must be wrong with the captcha functions or the actual php files.
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


@Polarbear541, I have FTP'd all the original files to the server again, and the same problem still


EDIT: I have had to re-enable reCAPTCHA II, but I still need captcha working for other plugins which use normal captcha.
You have two UTF-8 Byte Order Marks in that output, which makes the image invalid. I don't understand why so many people have this issue with MyBB. Must be a popular editor that inserts byte order mark into files.

Anyway, see this thread:
http://community.mybboard.net/thread-53165.html
Thank you, I will try this when I get home this evening, as I do not have access to FTP from the office.
FIXED!!!!

Frostchutz was on the money. I used notepad++ to convert the captcha.php file to unicode without BOM, then uploaded it and it was now displaying the image but no text, I then FTP's the inc/captcha_fonts dir in binary mode and it works 100% now.