Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: captcha image not rendered
Pages: [1]   Go Down
  Print  
Author Topic: captcha image not rendered  (Read 3208 times)
0 Members and 1 Guest are viewing this topic.
milc
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: November 13, 2009, 23:43:46 »

After installing the JComments to my joomla server, configuring...
the captcha image was not shown so one could not make a post.

Manually coping the image string to a new browser:
index.php?option=com_jcomments&task=captcha&tmpl=component&ac=45304
the following error shows up:
Fatal error: Call to undefined function imagecreatefrompng() in /...../com_jcomments/libraries/kcaptcha/kcaptcha.php on line 49

To resolve, I had to install the php5-gd module, restart apache2 by
apt-get install php5-gd
/etc/init.d/apache2 restart

on my debian server.

Maybe this could be added to the prerequisites list or the setup checks.

Regards, MilC
Logged
thundercat
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #1 on: November 15, 2009, 02:52:35 »

Jepp! Captcha's are text generated into an image, and php requires GD library to do that.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: captcha image not rendered
 
Jump to: