• Resolved 86com

    (@86com)


    After upgrading the server to PHP 7 (and having a lot of stuff changed) I had a problem that a locally-generated captcha box was empty.

    The problem was with /securimage/config.inc.php and the line
    'ttf_file' => './AHGBold.ttf'

    The problem was that some versions of GD library search for fonts by adding .ttf to the filename, so it searches for AHGBold.ttf.ttf instead. It can be solved by configuring it like
    'ttf_file' => './AHGBold'
    or having a full local path to the file like
    'ttf_file' => '/var/www/html/wp-content/plugins/captcha-them-all/securimage/AHGBold.ttf'

    • This topic was modified 5 years, 7 months ago by 86com.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Securimage Blank Captcha Box (solved)’ is closed to new replies.