Отмена

ErrorException [ Notice ]: Undefined index: city

APPPATH/classes/Helper.php [ 367 ]

362 
363 		$json = json_encode($xml);
364 
365 		$array = json_decode($json,TRUE);
366 
367 		return $array['ip']['city'];
368 	}
369 
370 	public static function show_city()
371 	{
372 
  1. APPPATH/classes/Helper.php [ 367 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/map.php [ 9 ] » Helper::cityname_by_ip()

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

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

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

  6. APPPATH/views/main.php [ 209 ] » Kohana_View->__toString()

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

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » 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 [ 997 ] » Kohana_Request_Client->execute(arguments)

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

Environment