Hello Jim,

The problem is with imagegif() function.
Probably, you have PHP with no GD library (available at http://www.boutell.com/gd/)
Or you have GD library version 1.6

With best regards,
Alexander Lazarchuk

**************************************
Alexander Lazarchuk                  *
mail:[EMAIL PROTECTED]            *
ICQ: 85839546                        *
homepage:http://www.lassar2000.h1.ru *
**************************************


Thursday, November 21, 2002, 5:29:35 PM, you wrote:

JH> HI Andrew et al...
JH> On Wednesday 20 November 2002 21:09, Andrew Brampton wrote:
>> Try going direct to the image's URL, this might show any PHP errors. If
>> that doesn't work, you can request the page via telnet and see if any
>> errors are appearing
>>
>> Andrew

JH> I hate to admit it but I don't understand what you mean. (Please note, I'm new 
JH> with PHP.) All the software is on my personal system. I'm not doing this over 
JH> the 'net. 

JH> There is three test files with this software. I picked it up at  
JH> http://www.phpclasses.org/  Using two files I get only the broken box.  

JH> But when I say http://opus.epost.de/~hatridge/graphs/test_pie.php (this is the 
JH> third test file)  I get this 

JH> ###############
JH>         Warning: Cannot add header information - headers already sent by (output
JH>         started at /home/hatridge/public_html/graphs/Piechart.php:159) in
JH>         /home/hatridge/public_html/graphs/Graph.php on line 40

JH>         Fatal error: Call to undefined function: imagegif() in
JH>         /home/hatridge/public_html/graphs/Graph.php on line 43
JH> #####################

JH> Any ideas?

JH> Thanks 

JH> JIM


>> ----- Original Message -----
>> From: "James Hatridge" <[EMAIL PROTECTED]>
>> To: "PHP-GEN" <[EMAIL PROTECTED]>
>> Sent: Wednesday, November 20, 2002 3:06 PM
>> Subject: [PHP] Graph Question..
>>
>>
>>
>> Hi all,,
>>
>> I d/l'ed a class for graphs last night. When I got the class working
>> instead of a line graph I got the netscape symbol for no picture, ie a
>> broken box. I must have missed something. Could someone give me a clue what
>> I'm doing wrong?
>>
>> Thanks
>>
>> JIM


--
Best regards,
 Alexander                            mailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to