APPPATH/views/produtos.php [ 15 ]
10 ?>
11 <div class="row">
12 <div class="col-12">
13 <div class="row">
14 <div class="col-10 title-page">
15 <h1><?php print_r($grupo->grupo());?> <span><?php echo $subgrupo;?></span></h1>
16 </div>
17 <div class="col-2 text-right">
18 <a href="javascript:history.back()" class="voltar"><i class="fas fa-angle-left"></i></a>
19 </div>
20 <div class="col-12">
-
APPPATH/views/produtos.php [ 15 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(25) "Undefined variable: grupo"
2
string(55) "/home/espacoambiente/www/application/views/produtos.php"
3
integer 15
4
array(4) ( "kohana_view_filename" => string(55) "/home/espacoambiente/www/application/views/produtos.php" "kohana_view_data" => array(2) ( "produtos" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(112) "SELECT `PRODUTOS`.* FROM `PRODUTOS` WHERE `GRP_IDGRUPO` = '51' AND `PRO_PUBLICAR` = 'S' ORDER BY `PRO_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Produtos" protected _object_params => NULL }
"grupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(76) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_IDGRUPO` = '51'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
) "produtos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(112) "SELECT `PRODUTOS`.* FROM `PRODUTOS` WHERE `GRP_IDGRUPO` = '51' AND `PRO_PUBLICAR` = 'S' ORDER BY `PRO_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Produtos" protected _object_params => NULL }
"grupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(76) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_IDGRUPO` = '51'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
)10 ?> 11 <div class="row"> 12 <div class="col-12"> 13 <div class="row"> 14 <div class="col-10 title-page"> 15 <h1><?php print_r($grupo->grupo());?> <span><?php echo $subgrupo;?></span></h1> 16 </div> 17 <div class="col-2 text-right"> 18 <a href="javascript:history.back()" class="voltar"><i class="fas fa-angle-left"></i></a> 19 </div> 20 <div class="col-12">
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(55) "/home/espacoambiente/www/application/views/produtos.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(55) "/home/espacoambiente/www/application/views/produtos.php"
1
array(2) ( "produtos" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(112) "SELECT `PRODUTOS`.* FROM `PRODUTOS` WHERE `GRP_IDGRUPO` = '51' AND `PRO_PUBLICAR` = 'S' ORDER BY `PRO_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Produtos" protected _object_params => NULL }
"grupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(76) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_IDGRUPO` = '51'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
)338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana_Exception::handler($e);
-
APPPATH/views/index.php [ 62 ] » Kohana_View->__toString()
57 --> 58 59 60 61 <?php 62 echo $center; 63 ?> 64 65 <?php include('footer.php'); ?> 66 67
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(52) "/home/espacoambiente/www/application/views/index.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(52) "/home/espacoambiente/www/application/views/index.php"
1
array(8) ( "grupos" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 13 protected _query => string(97) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_PAI` = '-1' ORDER BY `GRP_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 13 protected _current_row => integer 13 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
"parceiros" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(62) "SELECT `PARCEIROS`.* FROM `PARCEIROS` ORDER BY `PAR_DATA` DESC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Parceiros" protected _object_params => NULL }
"banners" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(29) "SELECT `LINKS`.* FROM `LINKS`" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Banners" protected _object_params => NULL }
"subgrupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 13 protected _query => string(98) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_PAI` != '-1' ORDER BY `GRP_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 13 protected _current_row => integer 13 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
"rodapes" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(31) "SELECT `RODAPE`.* FROM `RODAPE`" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(12) "Model_Rodape" protected _object_params => NULL }
"title" => string(28) "Espaço Ambientte | Produtos" "configClient" => array(1) ( "empresa" => string(17) "Espaço Ambientte" ) "center" => object View(2){ protected _file => string(55) "/home/espacoambiente/www/application/views/produtos.php" protected _data => array(2) ( "produtos" => object Database_MySQL_Result(7)
){ protected _internal_row => integer 0 protected _query => string(112) "SELECT `PRODUTOS`.* FROM `PRODUTOS` WHERE `GRP_IDGRUPO` = '51' AND `PRO_PUBLICAR` = 'S' ORDER BY `PRO_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Produtos" protected _object_params => NULL }
"grupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(76) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_IDGRUPO` = '51'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
) }338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 return parent::after(); 48 } 49
-
{PHP internal call} » Kohana_Controller_Template->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Produtos(5)
{ public template => object View(2)
{ protected _file => string(52) "/home/espacoambiente/www/application/views/index.php" protected _data => array(8) ( "grupos" => object Database_MySQL_Result(7)
public title => string(28) "Espaço Ambientte | Produtos" public auto_render => bool TRUE public request => object Request(20){ protected _internal_row => integer 13 protected _query => string(97) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_PAI` = '-1' ORDER BY `GRP_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 13 protected _current_row => integer 13 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
"parceiros" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(62) "SELECT `PARCEIROS`.* FROM `PARCEIROS` ORDER BY `PAR_DATA` DESC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Parceiros" protected _object_params => NULL }
"banners" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(29) "SELECT `LINKS`.* FROM `LINKS`" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Banners" protected _object_params => NULL }
"subgrupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 13 protected _query => string(98) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_PAI` != '-1' ORDER BY `GRP_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 13 protected _current_row => integer 13 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
"rodapes" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(31) "SELECT `RODAPE`.* FROM `RODAPE`" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(12) "Model_Rodape" protected _object_params => NULL }
"title" => string(28) "Espaço Ambientte | Produtos" "configClient" => array(1) ( "empresa" => string(17) "Espaço Ambientte" ) "center" => object View(2){ protected _file => string(55) "/home/espacoambiente/www/application/views/produtos.php" protected _data => array(2) ( "produtos" => object Database_MySQL_Result(7)
) }{ protected _internal_row => integer 0 protected _query => string(112) "SELECT `PRODUTOS`.* FROM `PRODUTOS` WHERE `GRP_IDGRUPO` = '51' AND `PRO_PUBLICAR` = 'S' ORDER BY `PRO_ORDEM` ASC" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Produtos" protected _object_params => NULL }
"grupos" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(76) "SELECT `GRUPOS_PRODUTOS`.* FROM `GRUPOS_PRODUTOS` WHERE `GRP_IDGRUPO` = '51'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Grupos" protected _object_params => NULL }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(58) "produtos(/<grupo>(/<idgrupo>(/<subgrupo>(/<idsubgrupo>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(8) "produtos" "action" => string(6) "grupos" ) protected _route_regex => string(140) "#^produtos(?:/(?P<grupo>[^/.,;?\n]++)(?:/(?P<idgrupo>[^/.,;?\n]++)(?:/(?P<subgrupo>[^/.,;?\n]++)(?:/(?P<idsubgrupo>[^/.,;?\n]++) …" }
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(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "produtos" protected _action => string(6) "grupos" protected _uri => string(35) "produtos/pisos/1/carpetes-placas/51" protected _external => bool FALSE protected _params => array(4) ( "grupo" => string(5) "pisos" "idgrupo" => string(1) "1" "subgrupo" => string(15) "carpetes-placas" "idsubgrupo" => string(2) "51" ) protected _get => array(1) ( "/produtos/pisos/1/carpetes-placas/51" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711636659 }
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(4) "http" }130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time 138 $this->_response_time = (time() - $this->_response_time); 139 140 // Add the default Content-Type header to initial request if not present
-
SYSPATH/classes/kohana/request.php [ 1129 ] » Kohana_Request_Client_Internal->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(58) "produtos(/<grupo>(/<idgrupo>(/<subgrupo>(/<idsubgrupo>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(8) "produtos" "action" => string(6) "grupos" ) protected _route_regex => string(140) "#^produtos(?:/(?P<grupo>[^/.,;?\n]++)(?:/(?P<idgrupo>[^/.,;?\n]++)(?:/(?P<subgrupo>[^/.,;?\n]++)(?:/(?P<idsubgrupo>[^/.,;?\n]++) …" }
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(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "produtos" protected _action => string(6) "grupos" protected _uri => string(35) "produtos/pisos/1/carpetes-placas/51" protected _external => bool FALSE protected _params => array(4) ( "grupo" => string(5) "pisos" "idgrupo" => string(1) "1" "subgrupo" => string(15) "carpetes-placas" "idsubgrupo" => string(2) "51" ) protected _get => array(1) ( "/produtos/pisos/1/carpetes-placas/51" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711636659 }
public _injected_routes => array(0) }1124 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1125 ':uri' => $this->_uri, 1126 )); 1127 } 1128 1129 return $this->_client->execute($this); 1130 } 1131 1132 /** 1133 * Returns whether this request is the initial request Kohana received. 1134 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers() 111 ->body();