xoops forums


Just can't stay away
Posted on: 2007/7/2 11:07
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8

Problem with captcha module

on installing the captcha module captcha image is not shown. the image debug info is

"Fatal error: Call to undefined function: imagettftext() in /home/nmshah/public_html/modules/captcha/class/captcha_x/class.captcha_x.php on line 294"

What am i doing wrong. Please help me

Apache version 1.3.37 (Unix)
PHP version 4.4.6
MySQL version 4.1.22-standard
Architecture i686
Operating system Linux


Friend of XOOPS
Posted on: 2007/7/5 23:36
Chappy (Show more)
Friend of XOOPS
Posts: 456
Since: 2002/12/14

Re: Problem with captcha module

Which XOOPS version? Have you tried the captcha facility in the newest Frameworks?
MMM...It tastes like chicken! ...


Not too shy to talk
Posted on: 2007/7/6 4:58
ewonline (Show more)
Not too shy to talk
Posts: 198
Since: 2004/11/17

Re: Problem with captcha module

Sounds like your php isnt compiled with GD
That function is a core php function, so its not defined by the Framework:

Look at your phpinfo and search for "GD Support" and see if its "enabled" and look for "GD Version".
Resized Image


Home away from home
Posted on: 2007/7/6 5:07
Catzwolf (Show more)
Home away from home
Posts: 1392
Since: 2007/9/30

Re: Problem with captcha module

php is not complied with GD Support. Ask your web hosting company to install it and enable it for you. Most will do this on asking, if they don't, then move to a decent hosting company.

Also remind them that they need to update to php-4.4.7




Just popping in
Posted on: 2009/1/10 23:39
benjamine_df (Show more)
Just popping in
Posts: 3
Since: 2008/9/21

Re: Problem with captcha module


I am not able to see captcha images in the registration page(/register.php).

Xoops - xoops-2.3.2b
PHP Version 4.4.9

I don't have /uploads/securityimage directory, even though I did a new full install.

From php info:
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Is there anything else I need to do to enable captcha?