• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Wierd PHP and freetype problem

777php

Diamond Member
I compiled PHP with gd and freetype but when I try to run a scrupt calling upon PHP to write to a image using freetype I receive this error. I know my script works becuase I pulled the entire site from the production server to this test server and it worked fine previously. Any experiences with this problem?

Warning: Could not find/open font in ../path/to/font

The file pointer is accurate and font has full read/write access and is owned by apache.
 
Warning: Could not find/open font in ../path/to/font

Sorry for asking the obvious, but is that the actual error message or did you replace the path with "/path/to/font".
If that is the actual error message, you need to configure the path.
If not, the question is if the path is correct or not.

Also make sure that the path has executable rights all the way for nobody or http (or whatever your daemon runs under).
 
It was strange, but all I did was went through each line of code that called the font and retyped the path in and now it seems to work. How buggy. 😕
 
Back
Top