flyalaska Posted March 3, 2018 Report Posted March 3, 2018 I am getting this error when approving or rejecting Pirep's phpVMS 5.5.2 php5.6 Warning: imagettfbbox(): Could not find/open font in /home/flyaka/public_html/core/common/PilotData.class.php on line 970 Warning: imagettftext(): Could not find/open font in /home/flyaka/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext(): Could not find/open font in /home/flyaka/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext(): Could not find/open font in /home/flyaka/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext(): Could not find/open font in /home/flyaka/public_html/core/common/PilotData.class.php on line 984 Lines 970 - $bb = imagettfbbox($font_size, 0, $font, 'A'); Line 984 - $tmp = imagettftext($img, $font_size, 0, $xoffset, $currline, $textcolor, $font, $output[$i]); Any ideas? Quote
web541 Posted March 3, 2018 Report Posted March 3, 2018 Hmmm, never seen this one before. In lib/fonts, do you have a file called Silkscreen.ttf? That's where the local.config.php points to for this under Config::Get('SIGNATURE_FONT_PATH'); Fonts directory should look like this https://github.com/DavidJClark/phpvms_5.5.x/tree/master/lib/fonts Also, check that the permissions on the file and the fonts folder are set correctly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.