ERR(2): Warning: Invalid argument supplied for foreach()
ERR(2): Warning: file_get_contents(http://www.bnr.ro/nbrfxrates.xml) [function.file-get-contents]: failed to open stream: HTTP request failed!

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/shop/public_html/app/classes/cursBnrXML.php:57 Stack trace: #0 /home/shop/public_html/app/classes/cursBnrXML.php(57): SimpleXMLElement->__construct('') #1 /home/shop/public_html/app/classes/cursBnrXML.php(46): cursBnrXML->parseXMLDocument() #2 /home/shop/public_html/app/pages/produse.php(3): cursBnrXML->cursBnrXML('http://www.bnr....') #3 /home/shop/public_html/app/index.php(163): include('/home/shop/publ...') #4 /home/shop/public_html/index.php(2): include('/home/shop/publ...') #5 {main} thrown in /home/shop/public_html/app/classes/cursBnrXML.php on line 57