Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/weerstat/public_html/sunposa.php on line 70

Warning: getimagesize(http://tycho.usno.navy.mil/cgi-bin/phase.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/weerstat/public_html/sunposa.php on line 70

Warning: imagecreatefromgif(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/weerstat/public_html/sunposa.php on line 71

Warning: imagecreatefromgif(http://tycho.usno.navy.mil/cgi-bin/phase.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/weerstat/public_html/sunposa.php on line 71

Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/weerstat/public_html/sunposa.php on line 75

Warning: getimagesize(http://umbra.nascom.nasa.gov/images/latest_solisHe_thumbnail.gif): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/weerstat/public_html/sunposa.php on line 70

Warning: imagecreatefromgif(http://umbra.nascom.nasa.gov/images/latest_solisHe_thumbnail.gif): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/weerstat/public_html/sunposa.php on line 71

Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/weerstat/public_html/sunposa.php on line 75
JpGraph Error: HTTP headers have already been sent.
Caused by output from file sunposa.php at line 70.
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".