ncd200 Posted January 10, 2016 Report 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
Administrators simpilot Posted January 10, 2016 Administrators Report 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
ncd200 Posted January 10, 2016 Author Report 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
Moderators Parkho Posted January 18, 2016 Moderators Report 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
ncd200 Posted January 18, 2016 Author Report Posted January 18, 2016 Thanks, that whas the problem. Topic can be closed now./ 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.