ErrorException [ Warning ]: simplexml_load_file(): /var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/media/gpx/:1: parser error : Document is empty

APPPATH/classes/Controller/Esp.php [ 273 ]

268 
269 		$get_info = $senderos->get_all_single_senderos($senderos_id);
270 		
271 		$path = $_SERVER['DOCUMENT_ROOT'].URL::base().'media/gpx/'.$get_info->file_ruta;
272 
273 		$read_xml = simplexml_load_file($path);
274 		$ns = $read_xml -> getNamespaces(true);
275 
276 		$band= 0;
277 		$ele = array();
278 
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Esp.php [ 273 ] » simplexml_load_file(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Esp->action_senderos_detalle()

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

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

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

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

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

Environment