Hi, new user here....
installed Mantis 1.2.19 recently, and captcha is not working, thus users can't register.
Turned on $debug in make_captcha_img.php as per some old thread from 2013 to see what was going on, and no ttf was found. Added $g_system_font_folder with appropriate dir, output from $debug is:
-Captcha-Debug: The available GD-Library has major version 2
-Captcha-Debug: Extracts Config-Array in unsecure-mode!
-Captcha-Debug: Check given TrueType-Array! (1)
-Captcha-Debug: Valid TrueType-files: (1)
-Captcha-Debug: Set current TrueType-File: (/var/www/CENSORED/www/fonts/arial.ttf)
-Captcha-Debug: Set number of noise characters to: (0)
-Captcha-Debug: Set image dimension to: (120 x 36)
-Captcha-Debug: Generate private key: (da8fa)
-Captcha-Debug: Generate ImageStream with: (imageCreate())
-Captcha-Debug: For colordefinitions we use: (imagecolorclosest())
-Captcha-Debug: We allocate one color for Background: (238-249-255)
-Captcha-Debug: Allocate 216 websafe colors to image: (217)
-Captcha-Debug: Fill background with x-gridlines: (12)
-Captcha-Debug: Fill background with y-gridlines: (4)
-Captcha-Debug: Fill foreground with chars and shadows: (5)
Couldn't find anywhere how output's supposed to look. Image is not created. (signup_page.php displays broken img, make_captcha_img.php displays nothing at all)
# gdlib-config --version
2.0.36
open_basedir not set
Creation of other images on server (thumbnails and such) works, so I'm guessing it's not a PHP issue.
Any ideas?
Greetings, Eleonore
Mantis 1.2.19: captcha broken
Moderators: Developer, Contributor
Re: Mantis 1.2.19: captcha broken
"Warning: The configuration option use_phpMailer is now obsolete"
That's the only warning. Nothing in the server logs.
That's the only warning. Nothing in the server logs.
Re: Mantis 1.2.19: captcha broken
Seems this is not a new installation but an upgrade from an earlier version. Right?eleonore wrote:"Warning: The configuration option use_phpMailer is now obsolete"
If so, is there any custom code that might cause the issue?
Re: Mantis 1.2.19: captcha broken
No, it is a new installation. I found the use_phpMailer thing on some forum, didn't know how else to get emails to work.atrol wrote:Seems this is not a new installation but an upgrade from an earlier version. Right?eleonore wrote:"Warning: The configuration option use_phpMailer is now obsolete"
If so, is there any custom code that might cause the issue?