首页上一页 1 下一页尾页 1 条记录 1/1页
请大家帮我看看哪里出的问题?
发表在PHP图书答疑
2010-04-23
是否精华
是
否
版块置顶:
是
否
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in C:\x\xampp\htdocs\jpgraph\src\gd_image.inc.php on line 908
JpGraph Error: HTTP headers have already been sent.
Caused by output from file gd_image.inc.php at line 908.
Explanation:
HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).
Most likely you have some text in your script before the call to Graph::Stroke(). If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser.
For example it is a common mistake to leave a blank line before the opening "<?php".
我是用jpgraph做一个饼状图的时候出现这个问题的,找了半天也没解决掉,是哪里出了问题了呢?大家帮我看看,谢谢你们。
JpGraph Error: HTTP headers have already been sent.
Caused by output from file gd_image.inc.php at line 908.
Explanation:
HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).
Most likely you have some text in your script before the call to Graph::Stroke(). If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser.
For example it is a common mistake to leave a blank line before the opening "<?php".
我是用jpgraph做一个饼状图的时候出现这个问题的,找了半天也没解决掉,是哪里出了问题了呢?大家帮我看看,谢谢你们。