GD without TTF support

ponkarthik - January 12, 2006 - 12:43
Project:CAPTCHA
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Version: Drupal 4.7 beta 3

I have GD without TTF support. Captcha outputs following error in administer>settings>captcha

# Your image library does not seem to have TrueType font support. Captcha will work, but will use the default inbuilt font.
# The settings have not been saved because of the errors.

I am not able to save the settings. But still captcha works for comments. But it does not work for user registration.

Karthik

#1

jon@jony.net - January 12, 2006 - 21:50
Status:active» fixed

I fixed the form, well, at least I was able to get it to save, I changed form_set_error() to drupal_set_message($message,'status'). form_set_error() should not be used to display status messages. Maintainer / author may want to check code for other incorect uses of form_set_error() that will proabably result in more people not able to save form, but for other reasons.

AttachmentSize
captcha_0.diff 555 bytes

#2

jon@jony.net - January 12, 2006 - 22:04
Status:fixed» active

Sorry, sorta screwed up, I fixed the form, but not the issue with captchas not showing up at registration, also I did not check the box to show capcha's to registered users, but registered users are still getting them.

#3

jon@jony.net - January 12, 2006 - 22:40

Scratch that, captchas are working at registration, as long as anon gets the the permision to access capcha's from access control. Registered user comments still getting captcha'ed despite module settings.

#4

arnabdotorg - January 12, 2006 - 23:35

Fixed.

#5

arnabdotorg - January 12, 2006 - 23:35
Status:active» fixed

#6

Anonymous - January 27, 2006 - 00:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.