The captcha image would not display for my new user signup. I looked around and couldn't find this answered, maybe I was supposed to know this but I didn't.
When all else fails, try something.
My server is a VPS linux environment. Mantis 1.0.7
Took these lines from config_defaults_inc.php
$g_signup_use_captcha = OFF;
$g_system_font_folder = 'c:/winnt/fonts/';
$g_font_per_captcha = 'arial.ttf';
Put them into config_inc.php like this
$g_signup_use_captcha = ON;
$g_system_font_folder = '';
$g_font_per_captcha = '';
Fixed - Captcha image shows up fine.
Captcha image not showing up
Moderators: Developer, Contributor
Captcha image not showing up
Newbie ... getting smarter every day
Re: Captcha image not showing up
I know the issue has probably been long since solved, but for anyone else cruising the forums for an answer to the above, look no further than good old fashioned Windows directory permissions.
You'll need to make sure that mantis (and or php) is allowed to access 'c:\winnt\fonts\'. My simple workaround involved copying 'arial.ttf' (or your preferred true type font) and dumping it directly in the '%webroot%\mantisbt\' directory.
My config_inc.php lines look like this:
$g_signup_use_captcha = ON;
$g_system_font_folder = 'C:/Inetpub/wwwroot/mantisbt/';
$g_font_per_captcha = 'impact.ttf';
And suddenly the jumbled letters and numbers appear!
You'll need to make sure that mantis (and or php) is allowed to access 'c:\winnt\fonts\'. My simple workaround involved copying 'arial.ttf' (or your preferred true type font) and dumping it directly in the '%webroot%\mantisbt\' directory.
My config_inc.php lines look like this:
$g_signup_use_captcha = ON;
$g_system_font_folder = 'C:/Inetpub/wwwroot/mantisbt/';
$g_font_per_captcha = 'impact.ttf';
And suddenly the jumbled letters and numbers appear!
Re: Captcha image not showing up
I uploaded Mantis to my web server. What do I enter to enable the Captcha image?
Re: Captcha image not showing up
The captcha is enabled by default (if we are talking about vesion 1.2.3 of MantisBT)
If there are any problems showing the captcha they might be caused by wrong font settings. See previous post how to customize the font settings.
If there are any problems showing the captcha they might be caused by wrong font settings. See previous post how to customize the font settings.
Re: Captcha image not showing up
I uploaded a font since there was none before and edited it in the config file and now the image appears.