PHPee.com PHP development forum
ttf path

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
papito



Joined: 03 Aug 2004
Posts: 10

PostPosted: Mon Apr 25, 2005 2:34 pm    Post subject: ttf path Reply with quote
Hi,

Can anyone tell me how what is the absolute path to my ttf fonts directory. I checked with my host and they told me GD and ttf support is enabled.

I get this error:

Quote:

Fatal error: Call to undefined function: imagettfbbox() in /home/cosmos55/public_html/sitetracker/modules/image_gen.php on line 57


Thanks
Back to top
View user's profile Send private message
papito



Joined: 03 Aug 2004
Posts: 10

PostPosted: Mon Apr 25, 2005 10:36 pm    Post subject: Reply with quote
My host gave me the correct path buth the counter still doesn't show.
Any ideas what is the problem?

Thanks
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 1100
Location: London, UK

PostPosted: Tue Apr 26, 2005 1:08 pm    Post subject: Reply with quote
That error looks like yout PHP doesn't have the freetype library enabled.

David
_________________
-----
PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
PSN



Joined: 24 Mar 2004
Posts: 60
Location: Sweden

PostPosted: Tue Apr 26, 2005 6:00 pm    Post subject: Reply with quote
To check this by your self, put this code into a php.file and save it as phpinfo.php on the webserver then its only to read what your host has enabled.

Code:


   phpinfo();
?>
Back to top
View user's profile Send private message
papito



Joined: 03 Aug 2004
Posts: 10

PostPosted: Tue Apr 26, 2005 7:31 pm    Post subject: Reply with quote
Can you tell me what am i looking for at the phpinfo file. I see GD is enabled but I cant see anything about freetype or fonts.
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 1100
Location: London, UK

PostPosted: Wed Apr 27, 2005 2:13 pm    Post subject: Reply with quote
Look at the top of the file.
You need to see something similar to --with-freetype-enabled

David
_________________
-----
PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
PSN



Joined: 24 Mar 2004
Posts: 60
Location: Sweden

PostPosted: Wed Apr 27, 2005 8:28 pm    Post subject: Reply with quote
It should be in the same section as GD: FreeType Support
Back to top
View user's profile Send private message
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Theme design based on Team 101 Designs, modified by Philip Iezzi