ErrorException [ Warning ]: simplexml_load_file(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

APPPATH/views/index/v_home.php [ 464 ]

459 					<?$proverka_inet = @fsockopen('nationalbank.kz', 80, $err, $ern, 1);
460 					if($proverka_inet)
461 					{
462 						$urlval = 'http://www.nationalbank.kz/rss/rates_all.xml'; // URL, XML документ, всегда содержит актуальные данные
463 						$cursval = array(); // массив с данными
464 						if(!$xmlval=simplexml_load_file($urlval)) die('Ошибка загрузки XML'); // загружаем полученный документ в дерево XML
465 						foreach($xmlval->channel->item as $m)
466 						{ // перебор всех значений
467 							if($m->title=="USD" || $m->title=="EUR" || $m->title=="RUB")
468 							{
469 								$cursval[(string)$m->title]= (float)$m->description; // запись значений в массив
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/index/v_home.php [ 464 ] » simplexml_load_file(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  6. APPPATH/views/index/v_base.php [ 1074 ] » Kohana_View->__toString()

  7. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

  11. {PHP internal call} » Kohana_Controller->execute()

  12. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  13. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  14. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment