modx captcha confirm not displaying security image
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Reply Quote
I ran into this one recently, on a development box, I activated modx captcha login, not realizing that it would add a captcha to the admin /manager/index.php login page as well.

As I quickly discovered, my system wasn't creating the image, which of course meant that I couldn't login. Quite a predicament. Turns out I needed to install these two Debian packages (running php5, mysql, apache 2.2, on Debian Sid / sidux):

:: Code ::
apt-get install php5-gd libgd2-xpm

I then did:
:: Code ::
apache2 -k restart
to make sure it was all reset, then tried it again. Image prints fine now, was able to login.

This is definitely one for the modx bug handlers, you shouldn't be able to set up image generation dependent login captchas without a test that the required components are actually available for use. First problem like that I've found with modx, will have to post it on their forums.

You can see if you need gd installed by simply running the php function phpinfo();

This will show you what apache is running, if you see a gd section, then this isn't the problem, if you don't, it is.

phpinfo() should show something like this:
:: Quote ::
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Back to top
Display posts from previous:   

All times are GMT - 8 Hours