• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 976
  • Last Modified:

Drupal 6 - Captcha module (image captcha) displays the background but not the text!!!

Hi,

I have this problem that is driving me crazy...  I have a fresh installation of Drupal 6 with the latest version of the Captcha module installed.  The problem is that if we try to use image captcha the image gets displayed but only the background without text at all (except when we use the built in font).

Inittially I thought that GD Library for JPG or PNG support was not enabled or probably the Freetype support but according to my PHP info all that is enabled and working.


GD Support       enabled
GD Version       bundled (2.0.34 compatible)
FreeType Support       enabled
FreeType Linkage       with TTF library
FreeType Version       1.4
GIF Read Support       enabled
GIF Create Support       enabled
JPG Support       enabled
PNG Support       enabled
WBMP Support       enabled
XBM Support       enabled

Do any of you experts had similar problems or have an Idea of where should I try to keep debugging this to try to get it fixed?

See the images below for a visual explanation...  the first image is using a font but obviously is not being rendered,  in the second image... when we use the built-in font the text is rendered just fine.

We're using the fonts that come with the module...  and the installation and implementation is straight out of the box.  We have the cache disabled too...

Any Ideas?
1261656045.jpg
1261656313.jpg
0
M-Geek
Asked:
M-Geek
1 Solution
 
GawaiCommented:
u need to upload the fonts to the server.
0
 
scifikillrCommented:
Agreed. Additionally (personal experience), I'd recommend using reCaptcha (http://drupal.org/project/recaptcha) in conjunction with Captcha, as it's a much better experience for the end-user.
0
 
M-GeekAuthor Commented:
Gawal: The fonts were in the server...  we were actually trying to use the default fonts that come with the module and they were inside the module fonts folder.  At the end it was a problem with the way the former consultant compiled PHP.

scifikillr:  Even though the problem wasn't really related to captcha...  I agree with you and in fact I ended up convincing the client to use reCaptcha instead.  

I don't mean disregarding your answer Gawal at all,  I'm just going to award the points to scifikillr just based on my perception that his answer was a bit more helpful, but nonetheless, thanks to both of you...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now