You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my dev server, captcha generation produced the error: imagettfbbox(): Could not find/open font (in image.php line 421). The font path is a valid file (and thus is_file(...) earlier returns true), but some versions of the GD library have special handling for relative font paths:
Depending on which version of the GD library PHP is using, when $fontfile does not begin with a leading / then .ttf will be appended to the filename and the library will attempt to search for that filename along a library-defined font path.
Changing the UI path in the F3 config to an absolute path therefore fixes the problem.
Maybe to account for this, line 413 could be changed to this, which also fixes the problem:
if (is_file($path=realpath($dir.$font))) {
Here is my phpinfo GD section, in case it helps
The text was updated successfully, but these errors were encountered:
On my dev server, captcha generation produced the error:
imagettfbbox(): Could not find/open font
(in image.php line 421). The font path is a valid file (and thusis_file(...)
earlier returns true), but some versions of the GD library have special handling for relative font paths:Changing the UI path in the F3 config to an absolute path therefore fixes the problem.
Maybe to account for this, line 413 could be changed to this, which also fixes the problem:
Here is my phpinfo GD section, in case it helps

The text was updated successfully, but these errors were encountered: