Captcha picture not visable

Found a bug? Tell us!!
Post Reply
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Captcha picture not visable

Post by plofhead »

Hi,

After updating from version 1.0.2 to 1.1 the Captcha picture is not displayed anymore. Only a small box with a red cross and the letters "CAPTCHA". It looks like the picture is not uploaded.
I tried to reinstall the spamblock plugin without result.
I also tried the Serendipity 3.0 template, but again no picture is shown.
I know the captchas are not visable for authors, but this is something else. It places only an empty box, the rest of the captcha text is shown.
The .ttf and all the .png files are available and readable.

Please help.

Regards,
Bert
To bee or not to bee, that is the question
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Captcha picture not visable

Post by garvinhicking »

Hi!

If I view the JPEG image output in a hex editor I see this in your captcha:

Code: Select all

<b>Warning</b>:  imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not read font 
This means that the .ttf files cannot be read. Can you check the read privileges, are the files readable for the webserver? Also make sure you uploaded the TTF files properly; they are binary files and maybe you corrupted then when you might have uploaded them in ASCI format?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi Garvin,

The Captcha problem is solved. I tried using an other FTP-program and uploaded the whole plugins directory of version 1.1 again.
I was using LeechFTP, now I used SmartFTP.

Thanks,
Bert
To bee or not to bee, that is the question
Post Reply