Warning: file_get_contents() [
function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in
/home/whaam/public_html/include-clima.php on line
6
Warning: file_get_contents(https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22Tandil%2C%20argentina%22)%20and%20u=%22c%22&format=xml) [
function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in
/home/whaam/public_html/include-clima.php on line
6
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/whaam/public_html/include-clima.php:7
Stack trace:
#0 /home/whaam/public_html/include-clima.php(7): SimpleXMLElement->__construct('')
#1 /home/whaam/public_html/include-header.php(17): include('/home/whaam/pub...')
#2 /home/whaam/public_html/w_web.php(24): include('/home/whaam/pub...')
#3 {main}
thrown in
/home/whaam/public_html/include-clima.php on line
7