PHP and GD

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Your PNG support is probably OK, that error is being caused by the fact that the script is trying to send the PNG output headers but headers have already been output due to the error from missing fonts.

It's looking now like that the function itself is supported, so I'm guessing you may have install some fonts for this script or the script is looking in the wrong place for the fonts?

Without seeing the script (I'm not registered at phpclasses) it's not so easy to tell what is going on.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

most likely, yes.
maxmegalon
Forum Newbie
Posts: 9
Joined: Fri Jun 11, 2004 8:01 am

Post by maxmegalon »

The script now is indeed producing some output that includes a png file (see earlier posting). If I edit this using vi and get rid of everything preceding the PNG line and save that to e.g. x.png the resulting picture looks fine. So, now I need to get rid of the warnings and everything will probably be all right.

Thx 4 the help!
Post Reply