Captcha in OCS 2.3.6.0

Hi,

I configured Captcha in my config.inc.php as follow :

captcha = on
; Whether or not to use Captcha on user registration / account creation
captcha_on_register = on
; Whether or not to use Captcha on user comments
captcha_on_comments = on
; Font location for font to use in Captcha images
font_location = /usr/local/share/fonts/freefont/FreeSerif.ttf

I followed the instructions of :

but I don’t have the Captcha in my form. Should I configure some other file ?

Thank you for your help.

Hi @iacocs:

What do you see?

→ Note that server has the font in directory, in negative case replace with a valid route
; Font location for font to use in Captcha images
font_location = /usr/local/share/fonts/freefont/FreeSerif.ttf

I set without problem with the same parameters that you have and it works.

36

Regards,
Diego

Hi,

I don’t see the Validation field; how could I debug to see what happen ?

Thank You

Hi,

I resolved, so I report the solution; my operating system is OpenBSD 6.2 with Apache 2.4.27p0 and
php 5.6.31 versions. Is installed also the package php-gd-5.6.31 (image manipulation extensions for php5) containing the module :

/usr/local/lib/php-5.6/modules/gd.so

So I added the line :

extension=gd.so

in the file /etc/php-5.6.ini, then I stopped and restarted apache :

  • apache2ctl stop
  • apachectl2 start

Now I have the Validation field in both REGISTRATION and ACCOUNT forms.

Regards