Error on PIREP Approval

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?

 

 

 

 

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.

Thank you, that fixed it!