Edit pilot profile [SOLVED]

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


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/

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]);

Anyone??

Change permission of the whole folder “fonts” that should do it. If you’re missing the folder then upload it.

Thanks, that whas the problem.

Topic can be closed now./