Captcha on FreeBDS with CMSMS

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Sebbie
New Member
New Member
Posts: 7
Joined: Tue Mar 06, 2007 5:10 pm

Captcha on FreeBDS with CMSMS

Post by Sebbie »

I have installed CMSMS on my freebsd server and installed the Captcha module.
I get a few errors and don't know how to solve them. Please help.

Error 1: when I go to Extensions - Capthcha I see the next error: Your GD library does not have FreeType support
When i switch to hn_captcha and look at the page where the comments should be or at least ad_comment with the captcha switch on I get an empty page.

Error 2: when I go to Extensions - Captcha and I switch the Captcha to PhpCaptcha I see the following error on the comment page:
Fatal error: Call to undefined function: imageftbbox() in /usr/home/philip/domains/poetriewriter.com/public_html/modules/Captcha/lib/phpcaptcha/php-captcha.inc.php on line 296

Hope some one can help me. The GD library is installed on the FreeBSD server.

Thanks

Sebbie
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Captcha on FreeBDS with CMSMS

Post by nils73 »

I guess the Accessibility & Usability forum might be the wrong one - especially for this plugin. CAPTCHAS are not accessible (i.e. for human users) and therefore they must not be used. You could use a custom module, for example one that does some simple maths instead.
Sebbie wrote:
Error 1: when I go to Extensions - Capthcha I see the next error: Your GD library does not have FreeType support
When i switch to hn_captcha and look at the page where the comments should be or at least ad_comment with the captcha switch on I get an empty page.
The error states that you need gdlib with FreeType support. If you have root access to the server you can download and install them:

http://mesh.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.9.tar.gz
http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
Sebbie wrote:
Error 2: when I go to Extensions - Captcha and I switch the Captcha to PhpCaptcha I see the following error on the comment page:
Fatal error: Call to undefined function: imageftbbox() in /usr/home/philip/domains/poetriewriter.com/public_html/modules/Captcha/lib/phpcaptcha/php-captcha.inc.php on line 296
I would recommend installing the missing FreeType library and consider updating GDlib as well. Not sure what causes this error, but if there is no library to generate a CAPTCHA-image then I would assume that there might be errors both in admin- and in frontend-mode.

Regards,
Nils
curana
Forum Members
Forum Members
Posts: 44
Joined: Sun Jan 21, 2007 5:53 pm

Re: Captcha on FreeBDS with CMSMS

Post by curana »

You installed gdlib via the ports or as a package?

Install it from the ports and compile with freetype support.

cd /usr/ports/graphics/php5-gd/ && make install clean
Sebbie
New Member
New Member
Posts: 7
Joined: Tue Mar 06, 2007 5:10 pm

Re: Captcha on FreeBDS with CMSMS

Post by Sebbie »

Thanks for your help.

Problems solved and captcha is working fine.

Thanks Again

Sebbie
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Captcha on FreeBDS with CMSMS

Post by jans »

I get the same error but not on freebsd but on a hosting server running on linux/unix.

I do not have root access and I wonder if there is another way to get captcha to work because I like to keep my gustbook and comments plugin on the site I have.

Can someone help me please ?
Post Reply

Return to “Modules/Add-Ons”