﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
3303	Mythweb Weather throws error when MSNBC unavailable	anonymous	xris	"Just checking weather in the latest svn r13224 and have got the following errors:

{{{
Error at /var/www/localhost/htdocs/modules/weather/includes/objects/WeatherSite.php, line 56:
file(): HTTP request failed! HTTP/1.1 404 NotFound

Error at /var/www/localhost/htdocs/modules/weather/includes/objects/WeatherSite.php, line 56:
file(http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=ASXX0301): failed to open stream: Success

Error at /var/www/localhost/htdocs/modules/weather/includes/objects/WeatherSite.php, line 58:
Invalid argument supplied for foreach()

Error at /var/www/localhost/htdocs/modules/_shared/tmpl/default/header.php, line 16:
Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/includes/errors.php:117)
}}}

I think maybe a catch/try or whatever the construct is could be used for the data fetch from the msnbc website.

This *does not* cause an unrecoverable error, just a bit ugly and doesn't let the user know what  has really happened."	defect	closed	minor	unknown	mythweb	head	low	wontfix	mythweb weather msnbc		0
