MyBB Community Forums

Full Version: CAPTCHA not working for registrations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've installed a new forum and just gone to register a member on it and the CAPTCHA is requested but no image is provided so people cannot see the image, so then they can't input the code meaning they can't register.

Forum URL is... http://www.basestonepaving.com/seforum/index.php

New installation (1.6)?


Lightbulb
Assuming you've not disabled it in the settings, does your host have the gd library enabled??
(2010-12-21, 05:14 PM)MattRogowski Wrote: [ -> ]Assuming you've not disabled it in the settings, does your host have the gd library enabled??

How can I find that out?

It is enabled btw
Go to ACP > Tools & Maintenance > View PHP Info > is there a table block with a heading of 'gd'?? Post what's in the table if it's there.
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled
And you're sure that CAPTCHA is enabled in the General Configuration settings, and that ./inc/settings.php is CHMOD to 666?? And you've not edited any templates??
yes

yes

yes
your captcha.php is missing?
how can i find it?
So it is, but people have had it missing in the past and it's just shown a broken image...

if($mybb->settings['captchaimage'] == 1 && function_exists("imagecreatefrompng"))
{
	$randomstr = random_str(5);
	$imagehash = md5(random_str(12));
	$regimagearray = array(
		"imagehash" => $imagehash,
		"imagestring" => $randomstr,
		"dateline" => TIME_NOW
	);
	$db->insert_query("captcha", $regimagearray);
	eval("\$regimage = \"".$templates->get("member_register_regimage")."\";");
}

It should still show the fieldset, just a broken image.

Edit: and now that's what it is doing...

(2010-12-21, 05:56 PM)StretfordEnders.net Wrote: [ -> ]how can i find it?

In the main MyBB download...??
Pages: 1 2