[rrd-users] Re: Junk characters instead of graph
serge.maandag at staff.zeelandnet.nl
Fri Nov 14 10:25:18 MET 2003
Dunno, it's your code :)
It kan be a kazillion things.
Make sure the top of your script says:
$| = 1;
and put a lot of warn (<your variables>) in your code to debug where it
is going wrong.
comment out the RRDs::graph statement and change the print of the
content type headerto a warn() statement.
Look in your error_log, if it's not there, then your code is not
outputting what it should output.
If you succesfully outputted the content type statement, a valid gif
image output will have your browser displaying the image.
Any non-valid output will give you the broken image icon in your
browser. Not garbled stuff. Garbled stuff indicates that your browser
never saw that it should have been expecting an image.
b.t.w., just in case, never try to do this:
print "Content-type: image/gif\n\n";
print `cat image.gif`;
It doesn't work that way..
From: Chitman Kaur [mailto:chitmankaur at yahoo.com]
Sent: Friday, November 14, 2003 9:02 AM
To: Serge Maandag
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Re: Junk characters instead of graph
If I create a seperate file with only this information then it works....
but when i put the code in my original grapher it still gives junk....
I looked into error_log in /etc/httpd/logs ... there is no error....
What to do now....
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users