I just noticed that by enabling "access textimages" with recent CVS version
I enabled the creation of the textimage from captcha, BUT

I get invalid images from textimage!

Firefox says
"image cannot be displayed because it contains errors"

doing a view-source it looks like it could be png image

‰PNG
......lots of gibberih binary stuff following....

this happens on windows with

Number of fonts found: 249 as well as with 0 (no path set)
Number of background images found: 0
GD Version: bundled (2.0.28 compatible)
FreeType Support: True

(using a xampp packaged setup, with following php PHP 4.4.3)

on a redhat3 / i32 this stuff works!!

Number of fonts found: 0
Number of background images found: 0
GD Version: bundled (2.0.28 compatible)
FreeType Support: True

PHP 4.4.2 is there

Comments

wundo’s picture

It seens to be a server specific problem, would you post an examplo of the png generated by the GD?

I don't have a windows server to test the module :(

Christoph C. Cemper’s picture

StatusFileSize
new2.34 KB

sure - me too thought it's a server issue - but which???

CR/LF in the PNG??? don't know

here's such a png attached

wundo’s picture

Category: bug » support

are your GD working property?

Christoph C. Cemper’s picture

I did use GD fine with the "watermark" module... so that should work...

any way to do better tests? do you have a "diagnose" functon in gd?

filiptc’s picture

Category: support » bug

I am having the exact same issue. Only that I can confirm that this is *not* OS related since I started having this problem on a WinXP and it persists after migrating to linux (clean install, manually deleted all DB textimage tables/rows). Last thing I remember doing before it stopped working (yes, it did work for a while - on XP) was installing the guestbook module (probably unrelated).

apache 2.2.3
php 5.1.6

Please do look into this.

@Christoph C. Cemper: Did you ever find out?

wundo’s picture

Status: Active » Postponed (maintainer needs more info)
Christoph C. Cemper’s picture

No Sorry, I never found out... it did work on some sites, did not on others...

I'm currerntly disabling textimage, as it generates images that are cut off,
so people are seeing 4 letters, but it askes for 5 ...

overall a pretty frustrating story...

deciphered’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed due to inactivity.