ncd200 Posted January 10, 2016 Report Share Posted January 10, 2016 Hello, I am using phpvms 5.5. it is working very good. Only problem is when I want to edit my profile and click save, the profile is saved correctly only i see a lot of error messages. But I can ignore these because the profile has saved the edited parts. How to get rid of these errors? Rick ----------------------------------------------------------------------------------------------------------- Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 970 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 984 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/eecvacom/public_html/core/common/PilotData.class.php on line 984 ----------------------------------------------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 10, 2016 Administrators Report Share Posted January 10, 2016 Check your fonts folder. The font that the script is looking for is either missing or the permissions on the folder are incorrect to allow the script access to the file. /lib/fonts/ Quote Link to comment Share on other sites More sharing options...
ncd200 Posted January 10, 2016 Author Report Share Posted January 10, 2016 Ok, and how do i know which font it is searching and if the permissions are right? This is the text from the error. LINE 970 : $bb = imagettfbbox($font_size, 0, $font, 'M'); LINE 984 : $tmp = imagettftext($img, $font_size, 0, $xoffset, $currline, $textcolor, $font, $output[$i]); Quote Link to comment Share on other sites More sharing options...
ncd200 Posted January 12, 2016 Author Report Share Posted January 12, 2016 Anyone?? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted January 18, 2016 Moderators Report Share Posted January 18, 2016 Change permission of the whole folder "fonts" that should do it. If you're missing the folder then upload it. Quote Link to comment Share on other sites More sharing options...
ncd200 Posted January 18, 2016 Author Report Share Posted January 18, 2016 Thanks, that whas the problem. Topic can be closed now./ Quote Link to comment Share on other sites More sharing options...
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.