Jump to content

Error on PIREP Approval


flyalaska

Recommended Posts

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?

 

 

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...