Warning: file_get_contents(http://selos.climatempo.com.br/selos/selo.php?CODCIDADE=3342) [
function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 504 Gateway Time-out
in
/home/a/andreoliterapia/www/include/funcoes.php on line
10
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/a/andreoliterapia/www/include/funcoes.php:21
Stack trace:
#0 /home/a/andreoliterapia/www/include/funcoes.php(21): SimpleXMLElement->__construct('')
#1 /home/a/andreoliterapia/www/home.php(168): climaTempo('3342')
#2 /home/a/andreoliterapia/www/index.php(301): require('/home/a/andreol...')
#3 {main}
thrown in
/home/a/andreoliterapia/www/include/funcoes.php on line
21