APPPATH/classes/controller/modelos.php [ 108 ]
103 $dataPaginas = Model_Database::factory('Modelos')->paginasFromGama($dataGama['id']);
104 $dataPagina = Model_Database::factory('Modelos')->paginaFromId($this->request->param('id'));
105
106 $dataGama['modelo_slug'] = $dataModelo['slug'];
107
108 $this->_setTitles($dataGama['titulo']);
109 $this->_setTitles($dataPagina['titulo']);
110 $this->_checkMultimedia($this->request->param('id'));
111
112 $this->pageContent->set('dataGama', $dataGama)
113 ->set('dataPagina',$dataPagina);
-
APPPATH/classes/controller/modelos.php [ 108 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(23) "Undefined index: titulo"
2
string(72) "/home2/tecline/public_tecauto/application/classes/controller/modelos.php"
3
integer 108
4
array(4) ( "dataModelo" => array(6) ( "id" => string(2) "28" "slug" => string(5) "t_roc" "titulo" => string(5) "T-Roc" "tipo" => string(8) "ligeiros" "ordem" => string(3) "573" "publicado" => string(1) "1" ) "dataGama" => array(1) ( "modelo_slug" => string(5) "t_roc" ) "dataPaginas" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(75) "SELECT `titulo_menu`, `id` FROM `automovel_paginas` WHERE `gama_id` IS NULL" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => bool FALSE protected _object_params => NULL }
"dataPagina" => array(12) ( "id" => string(3) "542" "gama_id" => string(2) "50" "titulo" => string(13) "Conectividade" "titulo_menu" => string(13) "Conectividade" "descricao" => string(5366) "<div class="StyledChildWrapper-sc-1d21nde bbiGnF"> <div class="StyledOverflowWrapper-sc-mfnmbg RijZV"> <div class="StyledConta …" "imagem1" => string(133) "/ficheiros/automoveis-paginas/2020_08_13_15_07_30_volkswagen_t_roc_suv_urbano_com_caraater_volkswagen_portugal_e_mais_2_paaginas …" "imagem2" => string(133) "/ficheiros/automoveis-paginas/2020_08_13_15_08_10_volkswagen_t_roc_suv_urbano_com_caraater_volkswagen_portugal_e_mais_2_paaginas …" "imagem3" => string(133) "/ficheiros/automoveis-paginas/2020_08_13_15_09_16_volkswagen_t_roc_suv_urbano_com_caraater_volkswagen_portugal_e_mais_2_paaginas …" "imagem4" => string(0) "" "imagem5" => string(0) "" "ordem" => string(1) "0" "publicado" => string(1) "1" ) )103 $dataPaginas = Model_Database::factory('Modelos')->paginasFromGama($dataGama['id']); 104 $dataPagina = Model_Database::factory('Modelos')->paginaFromId($this->request->param('id')); 105 106 $dataGama['modelo_slug'] = $dataModelo['slug']; 107 108 $this->_setTitles($dataGama['titulo']); 109 $this->_setTitles($dataPagina['titulo']); 110 $this->_checkMultimedia($this->request->param('id')); 111 112 $this->pageContent->set('dataGama', $dataGama) 113 ->set('dataPagina',$dataPagina);
-
{PHP internal call} » Controller_Modelos->action_pagina()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Modelos(16)
{ public banner_top => bool FALSE public banner_bottom => bool FALSE public slideshow => bool FALSE private _multimedia => bool FALSE public template => object View(2)
{ protected _file => string(69) "/home2/tecline/public_tecauto/application/views/template/template.php" protected _data => array(3) ( "pageContent" => object View(2)
public assets => object Assets(2){ protected _file => string(66) "/home2/tecline/public_tecauto/application/views/modelos/pagina.php" protected _data => array(0) }
"dataModelosLigeiros" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(118) "SELECT `titulo`, `slug` FROM `automovel_modelos` WHERE `publicado` = '1' AND `tipo` = 'ligeiros' ORDER BY `ordem` DESC" protected _result => resource(mysql result) protected _total_rows => integer 12 protected _current_row => integer 0 protected _as_object => bool FALSE protected _object_params => NULL }
"dataModelosComerciais" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(120) "SELECT `titulo`, `slug` FROM `automovel_modelos` WHERE `publicado` = '1' AND `tipo` = 'comerciais' ORDER BY `ordem` DESC" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 0 protected _as_object => bool FALSE protected _object_params => NULL }
) }{ protected _requested => array(1) ( "base" => string(4) "base" ) protected _config => object Config_Group(1)
public pageArea => NULL public pageHeader => string(15) "template/header" public pageMenu => NULL public pageContent => object View(2){ public base => array(6) ( 0 => array(3) ( 0 => string(5) "style" 1 => string(20) "assets/css/reset.css" 2 => string(4) "head" ) 1 => array(4) ( 0 => string(5) "style" 1 => string(20) "assets/css/style.css" 2 => string(4) "head" 3 => integer 10 ) 2 => array(4) ( 0 => string(5) "style" 1 => string(25) "assets/css/flexslider.css" 2 => string(4) "head" 3 => integer 20 ) 3 => array(4) ( 0 => string(6) "script" 1 => string(27) "assets/js/prefixfree.min.js" 2 => string(4) "head" 3 => integer 30 ) 4 => array(3) ( 0 => string(6) "script" 1 => string(53) "/ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" 2 => string(4) "body" ) 5 => array(4) ( 0 => string(6) "script" 1 => string(17) "assets/js/base.js" 2 => string(4) "body" 3 => integer 10 ) ) }
}{ protected _file => string(66) "/home2/tecline/public_tecauto/application/views/modelos/pagina.php" protected _data => array(0) }
public pageFooter => string(15) "template/footer" public contentMenu => NULL public pageMetaDescription => string(0) "" public auto_render => bool TRUE public request => object Request(21){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(34) "<tipo>/<modelo>/<gama>/pagina/<id>" protected _regex => array(1) ( "tipo" => string(21) "(ligeiros|comerciais)" ) protected _defaults => array(2) ( "controller" => string(7) "modelos" "action" => string(6) "pagina" ) protected _route_regex => string(113) "#^(?P<tipo>(ligeiros|comerciais))/(?P<modelo>[^/.,;?\n]++)/(?P<gama>[^/.,;?\n]++)/pagina/(?P<id>[^/.,;?\n]++)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "modelos" protected _action => string(6) "pagina" protected _uri => string(31) "ligeiros/t_roc/t_roc/pagina/542" protected _external => bool FALSE protected _params => array(4) ( "tipo" => string(8) "ligeiros" "modelo" => string(5) "t_roc" "gama" => string(5) "t_roc" "id" => string(3) "542" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }{ 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" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(34) "<tipo>/<modelo>/<gama>/pagina/<id>" protected _regex => array(1) ( "tipo" => string(21) "(ligeiros|comerciais)" ) protected _defaults => array(2) ( "controller" => string(7) "modelos" "action" => string(6) "pagina" ) protected _route_regex => string(113) "#^(?P<tipo>(ligeiros|comerciais))/(?P<modelo>[^/.,;?\n]++)/(?P<gama>[^/.,;?\n]++)/pagina/(?P<id>[^/.,;?\n]++)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "modelos" protected _action => string(6) "pagina" protected _uri => string(31) "ligeiros/t_roc/t_roc/pagina/542" protected _external => bool FALSE protected _params => array(4) ( "tipo" => string(8) "ligeiros" "modelo" => string(5) "t_roc" "gama" => string(5) "t_roc" "id" => string(3) "542" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(34) "<tipo>/<modelo>/<gama>/pagina/<id>" protected _regex => array(1) ( "tipo" => string(21) "(ligeiros|comerciais)" ) protected _defaults => array(2) ( "controller" => string(7) "modelos" "action" => string(6) "pagina" ) protected _route_regex => string(113) "#^(?P<tipo>(ligeiros|comerciais))/(?P<modelo>[^/.,;?\n]++)/(?P<gama>[^/.,;?\n]++)/pagina/(?P<id>[^/.,;?\n]++)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "modelos" protected _action => string(6) "pagina" protected _uri => string(31) "ligeiros/t_roc/t_roc/pagina/542" protected _external => bool FALSE protected _params => array(4) ( "tipo" => string(8) "ligeiros" "modelo" => string(5) "t_roc" "gama" => string(5) "t_roc" "id" => string(3) "542" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 103 ] » Kohana_Request->execute()
98 /** 99 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 100 * If no source is specified, the URI will be automatically detected. 101 */ 102 echo Request::factory() 103 ->execute() 104 ->send_headers() 105 ->body();