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
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(123) "simplexml_load_file(): /var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/media/gpx/:1: parser error : Document is empty"
2
string(92) "/var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/application/classes/Controller/Esp.php"
3
integer 273
4
array(4) ( "senderos" => object Model_Senderos(34)
{ protected _table_name => string(14) "senderos_ginfo" protected _primary_key => string(2) "id" protected _has_many => array(6) ( "actividades" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(13) "actividade_id" "model" => string(19) "Senderosactividades" ) "servicios" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(11) "servicio_id" "model" => string(17) "Senderosservicios" ) "etiquetas" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(11) "etiqueta_id" "model" => string(12) "Senderostags" ) "tipo_camino" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(14) "tipo_camino_id" "model" => string(19) "Senderostiposcamino" ) "galeria" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(10) "galeria_id" "model" => string(15) "Senderosgaleria" ) "municipio_info" => array(4) ( "foreign_key" => string(9) "estado_id" "through" => NULL "far_key" => string(17) "municipio_info_id" "model" => string(10) "Municipios" ) ) protected _belongs_to => array(2) ( "estado_info" => array(2) ( "foreign_key" => string(9) "id_estado" "model" => string(7) "Estados" ) "type_info" => array(2) ( "foreign_key" => string(15) "id_type_sendero" "model" => string(13) "Senderostipos" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(27) ( "id" => NULL "nombre" => NULL "slug_sendero" => NULL "descripcion_short" => NULL "descripcion_long" => NULL "file_ruta" => NULL "id_estado" => NULL "id_municipio" => NULL "localidad" => NULL "area_protegida" => NULL "status_sendero" => NULL "camino_comercio" => NULL "camino_empedrado" => NULL "distancia" => NULL "altitud" => NULL "elevacion" => NULL "desnivel" => NULL "desnivel_acumulado" => NULL "tel_emergencia" => NULL "perros_permitidos" => NULL "como_llegar" => NULL "dificultad" => NULL "tiempo_recorrido" => NULL "latitud" => NULL "longitud" => NULL "id_type_sendero" => NULL "publish_status" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "senderos" protected _object_plural => string(10) "senderoses" protected _table_columns => array(27) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "nombre" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(6) "nombre" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug_sendero" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(12) "slug_sendero" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "descripcion_short" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(17) "descripcion_short" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "descripcion_long" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(16) "descripcion_long" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_ruta" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "file_ruta" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_estado" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "id_estado" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_municipio" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(12) "id_municipio" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "localidad" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "localidad" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "area_protegida" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "area_protegida" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status_sendero" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "status_sendero" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(4) ( 0 => string(10) "Homologado" 1 => string(13) "No Homologado" 2 => string(26) "En proceso de Homologacion" 3 => string(8) "Balizado" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "camino_comercio" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "camino_comercio" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "camino_empedrado" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "camino_empedrado" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "distancia" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "distancia" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "altitud" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "altitud" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "elevacion" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "elevacion" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "desnivel" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "desnivel" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "desnivel_acumulado" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(18) "desnivel_acumulado" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tel_emergencia" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(14) "tel_emergencia" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "perros_permitidos" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "perros_permitidos" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "como_llegar" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(11) "como_llegar" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "dificultad" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(10) "dificultad" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tiempo_recorrido" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(16) "tiempo_recorrido" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "latitud" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(7) "latitud" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "longitud" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(8) "longitud" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_type_sendero" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "id_type_sendero" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "publish_status" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "publish_status" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"senderos_id" => string(1) "9" "get_info" => object Model_Senderos(34){ protected _connection_id => string(40) "7b5195b1824648e6ffbf175798a176735d13245a" protected _identifier => string(1) "`" public last_query => string(1272) "SELECT `senderos`.`id` AS `id`, `senderos`.`nombre` AS `nombre`, `senderos`.`slug_sendero` AS `slug_sendero`, `senderos`.`descri …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(8) "senderos" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(18) "avansys_senderos_m" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(14) "senderos_ginfo" protected _primary_key => string(2) "id" protected _has_many => array(6) ( "actividades" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(13) "actividade_id" "model" => string(19) "Senderosactividades" ) "servicios" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(11) "servicio_id" "model" => string(17) "Senderosservicios" ) "etiquetas" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(11) "etiqueta_id" "model" => string(12) "Senderostags" ) "tipo_camino" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(14) "tipo_camino_id" "model" => string(19) "Senderostiposcamino" ) "galeria" => array(4) ( "foreign_key" => string(10) "id_sendero" "through" => NULL "far_key" => string(10) "galeria_id" "model" => string(15) "Senderosgaleria" ) "municipio_info" => array(4) ( "foreign_key" => string(9) "estado_id" "through" => NULL "far_key" => string(17) "municipio_info_id" "model" => string(10) "Municipios" ) ) protected _belongs_to => array(2) ( "estado_info" => array(2) ( "foreign_key" => string(9) "id_estado" "model" => string(7) "Estados" ) "type_info" => array(2) ( "foreign_key" => string(15) "id_type_sendero" "model" => string(13) "Senderostipos" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(27) ( "id" => NULL "nombre" => NULL "slug_sendero" => NULL "descripcion_short" => NULL "descripcion_long" => NULL "file_ruta" => NULL "id_estado" => NULL "id_municipio" => NULL "localidad" => NULL "area_protegida" => NULL "status_sendero" => NULL "camino_comercio" => NULL "camino_empedrado" => NULL "distancia" => NULL "altitud" => NULL "elevacion" => NULL "desnivel" => NULL "desnivel_acumulado" => NULL "tel_emergencia" => NULL "perros_permitidos" => NULL "como_llegar" => NULL "dificultad" => NULL "tiempo_recorrido" => NULL "latitud" => NULL "longitud" => NULL "id_type_sendero" => NULL "publish_status" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "senderos" protected _object_plural => string(10) "senderoses" protected _table_columns => array(27) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "nombre" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(6) "nombre" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug_sendero" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(12) "slug_sendero" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "descripcion_short" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(17) "descripcion_short" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "descripcion_long" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(16) "descripcion_long" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_ruta" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "file_ruta" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_estado" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "id_estado" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_municipio" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(12) "id_municipio" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "localidad" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "localidad" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "area_protegida" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "area_protegida" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status_sendero" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "status_sendero" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(4) ( 0 => string(10) "Homologado" 1 => string(13) "No Homologado" 2 => string(26) "En proceso de Homologacion" 3 => string(8) "Balizado" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "camino_comercio" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "camino_comercio" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "camino_empedrado" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "camino_empedrado" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "distancia" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(9) "distancia" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "altitud" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "altitud" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "elevacion" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "elevacion" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "desnivel" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "desnivel" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "desnivel_acumulado" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(18) "desnivel_acumulado" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tel_emergencia" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(14) "tel_emergencia" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "perros_permitidos" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "perros_permitidos" "column_default" => NULL "data_type" => string(4) "enum" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "collation_name" => string(15) "utf8_swedish_ci" "options" => array(2) ( 0 => string(2) "SI" 1 => string(2) "NO" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "como_llegar" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(11) "como_llegar" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "dificultad" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(10) "dificultad" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tiempo_recorrido" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(16) "tiempo_recorrido" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "latitud" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(7) "latitud" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "longitud" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(8) "longitud" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "id_type_sendero" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "id_type_sendero" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "publish_status" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "publish_status" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"path" => string(64) "/var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/media/gpx/" ){ protected _connection_id => string(40) "7b5195b1824648e6ffbf175798a176735d13245a" protected _identifier => string(1) "`" public last_query => string(1272) "SELECT `senderos`.`id` AS `id`, `senderos`.`nombre` AS `nombre`, `senderos`.`slug_sendero` AS `slug_sendero`, `senderos`.`descri …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(8) "senderos" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(18) "avansys_senderos_m" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) } -
APPPATH/classes/Controller/Esp.php [ 273 ] » simplexml_load_file(arguments)
filename
string(64) "/var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/media/gpx/"
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
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Esp->action_senderos_detalle()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Esp(7)
{ public template => object View(2)
{ protected _file => string(98) "/var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/application/views/templates/template_esp.php" protected _data => array(6) ( "title" => string(0) "" "id" => string(0) "" "content" => string(0) "" "flash_messages" => string(0) "" "styles" => array(0) "scripts" => array(0) ) }
public page_footer => object View(2){ protected _file => string(86) "/var/www/vhosts/senderosdemexico-jalisco.org/httpdocs/application/views/esp/footer.php" protected _data => array(0) }
public info_senderos => NULL public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(72) "http://www.senderosdemexico-jalisco.org/index.php/esp/senderos_detalle/9" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(39) "(<controller>(/<action>(/<id_action>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(3) "esp" "action" => string(5) "index" ) protected _route_regex => string(102) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id_action>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "Esp" protected _action => string(16) "senderos_detalle" protected _uri => string(22) "esp/senderos_detalle/9" protected _external => bool FALSE protected _params => array(1) ( "id_action" => string(1) "9" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public info_senderos_mapa => NULL }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(72) "http://www.senderosdemexico-jalisco.org/index.php/esp/senderos_detalle/9" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(39) "(<controller>(/<action>(/<id_action>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(3) "esp" "action" => string(5) "index" ) protected _route_regex => string(102) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id_action>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "Esp" protected _action => string(16) "senderos_detalle" protected _uri => string(22) "esp/senderos_detalle/9" protected _external => bool FALSE protected _params => array(1) ( "id_action" => string(1) "9" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(72) "http://www.senderosdemexico-jalisco.org/index.php/esp/senderos_detalle/9" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(39) "(<controller>(/<action>(/<id_action>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(3) "esp" "action" => string(5) "index" ) protected _route_regex => string(102) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id_action>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "Esp" protected _action => string(16) "senderos_detalle" protected _uri => string(22) "esp/senderos_detalle/9" protected _external => bool FALSE protected _params => array(1) ( "id_action" => string(1) "9" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }