Jump to content

Recommended Posts

Posted

According to PHP.net, the function imagettfbbox() is part of PHP 4+, but in a script I tried running, it said it was undefined. Am I missing anything?

 

I was using it to generate an image on the fly for one of those anti-robotic image dealies (a script I found on Hotscripts by "Chuck Harmston"). It could be the script of course... I have no clue how this image stuff works in PHP, heh. Thanks!

Posted

Frylock, the PHP manual says that function requires both the GD library and the FreeType library. I know TCH servers have the GD library installed and working with PHP but I'm not sure about the Freetype library.

 

I'll check that for you and post here again when I know the answer.

Posted

All servers should have freetype installed by default. For some reason it was missing on server 35. I tested several other servers and found it was compiled into php. I have recompiled php with freetype support on your server. You can test it by running the fttest.php program I put in your public_html directory.

  • 4 years later...
Posted

An old issue sorted I know but I am being advised by the install guide to ensure GD and Freetype are available on the server. Why?

 

I am installing really-simple-captcha to work with contact-form-7 within WordPress.

 

I cannot get the character image to display.

 

Are these libraries available? I'm on arlington, it says.

 

Thanks.

Posted

GD and Freetype are installed on all servers. If you are having issues getting these to work, please drop a ticket to the help desk and we will assist.

Posted

Many thanks Dick. I asked out of bewilderment. I found the answer is to physically create the wp-content/uploads folder which wp has as the default upload location and which captcha uses. Once that folder exists (with permission 777) all works well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...