Jump to content

[SOLVED] imagettfbbox() is undefined, can't seem to figure out how to install GB Library


SapAuthor

Recommended Posts

This is bugging the heck out of me.  Ever since the server got reset and updated and stuff, a ton of modules were undone.  The page says:

 

Fatal error: Call to undefined function imagettfbbox() <blah blah>

 

So, looking around it says that the GD and the freetype libraries must be installed.  I Went to the webhost manager, and installed the following perl modules:

 

GD  2.43  Interface to Gd Graphics Library

GD::Graph  1.44  Create charts using GD

GD::SecurityImage  1.70  Security image (captcha) generator

Font::FreeType  0.03

Imager::Font::FreeType2  1.013 

 

My phpInfo is here:  http://www.pannachesalon.com/tempSiteInfo.php

 

Contact page here: http://www.pannachesalon.com/contact/contact.php

 

I'm using the script found here: http://www.white-hat-web-design.co.uk/articles/php-captcha.php

 

Please help... -.-

Sadly, they must be using another version of the WHM.  There's no such options, although i can see with my current configuration that indeed truetype is not installed (GD is).  Now if only i could figure out how to get it installed... :- /

Edit: I'm trying to rebuild apache from scratch, looks like there's no way to just add on from the previous, so i took the log of the previous apache, made sure everything configured on that setting was on the new one, of course enabling freetype in the process.  Hopefully the server doesn't crash :P  Sometimes I feel the server admin gives me too much flexibility xD

It worked, had to rebuild it.

 

Anyone who is looking at this in the future, if you have MySQL and WHM (only the admin of the server will probably have access to the WHM), have the admin go to the EasyApache program in WHM, and make a new apache build, set it to the way he had the old one but include (in the "extensive list") FreeType.  Rebuild it then.

 

Thanks for the help man, i appreciate it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.