حالة الطقس المتوقعة

Warning: simplexml_load_file(http://api.wunderground.com/api/d55d162f520c04e2/geolookup/forecast10day/lang:AR/q/Lebanon/Zahle.xml): failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized in /home/asdaa/public_html/weatherf.php on line 4

Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://api.wunderground.com/api/d55d162f520c04e2/geolookup/forecast10day/lang:AR/q/Lebanon/Zahle.xml" in /home/asdaa/public_html/weatherf.php on line 4

Fatal error: Uncaught Error: Call to a member function xpath() on boolean in /home/asdaa/public_html/weatherf.php:5 Stack trace: #0 /home/asdaa/public_html/home.php(31): include() #1 /home/asdaa/public_html/page.php(270): include('/home/asdaa/pub...') #2 {main} thrown in /home/asdaa/public_html/weatherf.php on line 5