Warning!
ErrorException [ Warning ]: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
APPPATH/classes/model/helper/exchange.php @ line 16:
15: $currencyarray = array();
16: $xml = simplexml_load_string(file_get_contents('http://rayhost.de/eurofxref-daily.xml'));
17:
Warning!
ErrorException [ Warning ]: file_get_contents(http://rayhost.de/eurofxref-daily.xml): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
APPPATH/classes/model/helper/exchange.php @ line 16:
15: $currencyarray = array();
16: $xml = simplexml_load_string(file_get_contents('http://rayhost.de/eurofxref-daily.xml'));
17:
Notice!
ErrorException [ Notice ]: Trying to get property of non-object
APPPATH/classes/model/helper/exchange.php @ line 18:
17:
18: foreach($xml->Cube[0]->Cube[0] as $cube) {
19: $cubeattr = $cube->attributes();
Notice!
ErrorException [ Notice ]: Trying to get property of non-object
APPPATH/classes/model/helper/exchange.php @ line 18:
17:
18: foreach($xml->Cube[0]->Cube[0] as $cube) {
19: $cubeattr = $cube->attributes();
Warning!
ErrorException [ Warning ]: Invalid argument supplied for foreach()
APPPATH/classes/model/helper/exchange.php @ line 18:
17:
18: foreach($xml->Cube[0]->Cube[0] as $cube) {
19: $cubeattr = $cube->attributes();
Notice!
ErrorException [ Notice ]: Undefined index: USD
APPPATH/classes/model/helper/exchange.php @ line 40:
39: //$exchange->wert = 1.09; #$data[1];
40: $exchange->wert = $currencyarray['USD'];
41: $exchange->datum = date('m/d/Y');