wierd problem with GT mod "imagettfbbox()"

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
rtilghman
Posts: 107
Joined: Tue 1. Mar 2005, 17:22

wierd problem with GT mod "imagettfbbox()"

Post by rtilghman »

I moved a working phpwcms installation with the gt mod on to a new server, migrated the database, and got the thing up and running almost perfectly. However, I've now encountered a previously unseen problem with the GT mod... in the former location it ran without a hitch.

The problem I'm encountering is as follows:

Fatal error: Call to undefined function: imagettfbbox() in /home/roundarc/public_html/dev/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 49

It occurs on both the "Fonts" and "Styles" pages of the GT mod section. What does this mean? I seem to remember the GT mod requiring a certain PHP function be enabled/installed, migh this mean it isnt installed or enabled on this server? What is the function so I can look for it or add it? Opentext?

Any insight is appreciated.

Thanks,
Rick
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

compare the php-Version on both Servers and look for GD-Modul with phpinfo() in Admin Section of the Backend

Your Server didn't know the Command imagettfbbox()
Fatal error: Call to undefined function: imagettfbbox() in
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
rtilghman
Posts: 107
Joined: Tue 1. Mar 2005, 17:22

Post by rtilghman »

Neither server has the entry you mentioned in your post. There was a --gd entry in the configure command section, but that was present on both servers.

However, following up on my previous I did find that the new server didn't have FreeType (the configure command I mentioned earlier) installed. I figure that's it... the FreeType add-on has that method/call, and because it wasn't installed GT was choking. I'm installing it now.

One other question... I found the entry:

'--with-ttf=/usr'

in the command section of my previous server but not in the new one. Since ttf could easily be true type font, does this get installed with the FreeType library or is it something else I need to chase down?

Thanks,
Rick
Post Reply