Page 1 of 1

Captcha picture not visable

Posted: Thu Jan 18, 2007 7:49 pm
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

Re: Captcha picture not visable

Posted: Thu Jan 18, 2007 9:21 pm
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

Posted: Fri Jan 19, 2007 4:09 pm
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