Saturday,23 Marchs
Актау
пасмурно
378.17
429.11
5.88

ErrorException [ Warning ]: file_get_contents(http://gotravelto.kz/uploads/json/en/news.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

APPPATH/classes/Cloud.php [ 37 ]

32 		if(!$datas)
33 		{
34 			if(in_array($api, array('tour', 'object', 'news', 'souvenir', 'event')))
35 			{
36 				$files = json_decode(@file_get_contents(Cloud::$api . $api . '?as_json=0&lang='.$lang), JSON_OBJECT_AS_ARRAY);
37 				$datas['results'] = json_decode(file_get_contents($files['url']), JSON_OBJECT_AS_ARRAY);
38 				
39 				if($lang != 'ru')
40 				{
41 					//$files_ru = json_decode(@file_get_contents(Cloud::$api . $api . '?as_json=0&lang=ru'), JSON_OBJECT_AS_ARRAY);
42 					//$datas_ru['results'] = json_decode(file_get_contents($files['url']), JSON_OBJECT_AS_ARRAY);	
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Cloud.php [ 37 ] » file_get_contents(arguments)

  3. MODPATH/news/classes/Controller/News.php [ 75 ] » Cloud::get_api(arguments)

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_News->action_index()

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

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

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

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

  9. APPPATH/classes/Controller/Index.php [ 192 ] » Kohana_Request->execute()

  10. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index->action_index()

  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 [ 993 ] » Kohana_Request_Client->execute(arguments)

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

Environment