Hi All
I've noticed that all of the Environment Canada information on my site has been missing for the past week. I gave it some time thinking it would just be a problem on their end and it would be resolved, but it doesn't look like it's coming back. Oddly enough, the radars still work fine, but all of the forecast data is missing. I'm wondering if anyone could help me figure this out?
Here is a wall of text from the error log that I think may point to the issue, but I don't know what to do with it. It's been repeating every day since the 16th which is about when I noticed the data was missing on the site:
----------------------------------------------
PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): ^ in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): ^ in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: simplexml_load_string(): ^ in /home/d6bsim7o954q/public_html/ec-forecast.php on line 714
PHP Warning: Invalid argument supplied for foreach() in /home/d6bsim7o954q/public_html/ec-forecast.php on line 1135
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/d6bsim7o954q/public_html/ec-forecast.php on line 1221
PHP Warning: Division by zero in /home/d6bsim7o954q/public_html/ec-forecast.php on line 1591
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/d6bsim7o954q/public_html/ec-forecast.php on line 1740
PHP Notice: Undefined variable: forecastdetail in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 206
PHP Notice: Undefined variable: forecastdays in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 207
PHP Warning: Invalid argument supplied for foreach() in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 207
PHP Notice: Undefined variable: forecasticons in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 697
PHP Notice: Undefined offset: 0 in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 983
PHP Notice: Undefined offset: 1 in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 983
PHP Notice: Undefined variable: forecasticons in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 989
PHP Notice: Undefined offset: 0 in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 989
PHP Notice: Undefined variable: forecasticons in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 1000
PHP Notice: Undefined offset: 1 in /home/d6bsim7o954q/public_html/ajax-dashboard.php on line 1000
--------------------------------------------
Line 714 in the 'ec-forecast.php' file is this:
----------
$xml = simplexml_load_string($content);
----------
Thanks for the help.
Ray