MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]
166 {
167 // This benchmark is worthless
168 Profiler::delete($benchmark);
169 }
170
171 throw new Database_Exception(':error [ :query ]', array(
172 ':error' => $this->_connection->error,
173 ':query' => $sql
174 ), $this->_connection->errno);
175 }
176
-
MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)
0integer 1
1string(82) "SELECT * FROM `categories` WHERE `categories`.`p_id` = '0' ORDER BY RAND() LIMIT 4"2bool FALSE
3array(0)246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime); -
MODPATH/shop/classes/Kohana/Eshop.php [ 321 ] » Kohana_Database_Query->execute()
316 $ord = DB::select() 317 ->from('categories') 318 ->where('categories.p_id', '=', '0') 319 ->order_by(DB::expr('RAND()')) 320 ->limit(4) 321 ->execute() 322 ->as_array() 323 ; 324 325 // echo Debug::vars($ord); 326 $c = "<div class=\"category-tab\"><!--category-tab-->\n"; -
MODPATH/shop/views/item_detail/info.php [ 4 ] » Kohana_Eshop::category_tab()
1 <?php 2 echo Eshop::item_detail($var); 3 4 echo Eshop::category_tab(); 5 6 echo Eshop::item_recomended(); 7 ?> 8 9 -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(66) "/home/nextsolu/public_html/modules/shop/views/item_detail/info.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(66) "/home/nextsolu/public_html/modules/shop/views/item_detail/info.php"1array(3) ( "form" => NULL "errors" => NULL "var" => array(2) ( "item" => array(20) ( "id" => string(4) "2398" "it_code" => string(4) "2398" "it_name" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" "it_discontinued" => string(1) "0" "it_discount" => string(1) "0" "it_description" => string(0) "" "m_name" => string(13) "fab. nacional" "ca_name" => NULL "it_add_date" => string(10) "2022-11-28" "it_modif_date" => string(10) "2022-11-28" "ii_name" => string(23) "2398_20221128201533.jpg" "it_promote" => string(1) "0" "ip_price" => string(2) "23" "ip_client" => string(2) "22" "ip_dist" => string(2) "20" "ip_date" => NULL "ip_date_ini" => NULL "ip_date_end" => NULL "ip_suggested" => NULL "ip_check" => NULL ) "images" => array(1) ( 0 => array(2) ( "ii_name" => string(23) "2398_20221128201533.jpg" "ii_title" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" ) ) ) )
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
MODPATH/shop/views/themes/Eshopper/product-details.php [ 953 ] » Kohana_View->__toString()
948 949 <section> 950 <div class="container"> 951 <div class="row"> 952 <div class="col-sm-12 padding-right item-show"> 953 <?php if (isset($content)) echo $content; ?> 954 </div> 955 </div> 956 </div> 957 </section> 958 -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(81) "/home/nextsolu/public_html/modules/shop/views/themes/Eshopper/product-details.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(81) "/home/nextsolu/public_html/modules/shop/views/themes/Eshopper/product-details.php"1array(8) ( "app_name" => string(15) "Next Soluciones" "app_name_adv" => string(9) "<b>N</b>S" "title_page" => string(19) "Detalle de producto" "slider_enabled" => bool FALSE "slider_up" => bool FALSE "style_header_custom" => object View(2)
{ protected _file => string(73) "/home/nextsolu/public_html/modules/shop/views/item_detail/info_header.php" protected _data => array(0) }"script_footer_custom" => object View(2){ protected _file => string(73) "/home/nextsolu/public_html/modules/shop/views/item_detail/info_footer.php" protected _data => array(0) }"content" => object View(2){ protected _file => string(66) "/home/nextsolu/public_html/modules/shop/views/item_detail/info.php" protected _data => array(3) ( "form" => NULL "errors" => NULL "var" => array(2) ( "item" => array(20) ( "id" => string(4) "2398" "it_code" => string(4) "2398" "it_name" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" "it_discontinued" => string(1) "0" "it_discount" => string(1) "0" "it_description" => string(0) "" "m_name" => string(13) "fab. nacional" "ca_name" => NULL "it_add_date" => string(10) "2022-11-28" "it_modif_date" => string(10) "2022-11-28" "ii_name" => string(23) "2398_20221128201533.jpg" "it_promote" => string(1) "0" "ip_price" => string(2) "23" "ip_client" => string(2) "22" "ip_dist" => string(2) "20" "ip_date" => NULL "ip_date_ini" => NULL "ip_date_end" => NULL "ip_suggested" => NULL "ip_check" => NULL ) "images" => array(1) ( 0 => array(2) ( "ii_name" => string(23) "2398_20221128201533.jpg" "ii_title" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" ) ) ) ) })354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
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 parent::after(); 48 } 49 -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Productdetail(7)
{ public template => object View(2){ protected _file => string(81) "/home/nextsolu/public_html/modules/shop/views/themes/Eshopper/product-details.php" protected _data => array(8) ( "app_name" => string(15) "Next Soluciones" "app_name_adv" => string(9) "<b>N</b>S" "title_page" => string(19) "Detalle de producto" "slider_enabled" => bool FALSE "slider_up" => bool FALSE "style_header_custom" => object View(2)public theme_version => string(6) "2.3.11" public system_config => object Config_Group(28){ protected _file => string(73) "/home/nextsolu/public_html/modules/shop/views/item_detail/info_header.php" protected _data => array(0) }"script_footer_custom" => object View(2){ protected _file => string(73) "/home/nextsolu/public_html/modules/shop/views/item_detail/info_footer.php" protected _data => array(0) }"content" => object View(2){ protected _file => string(66) "/home/nextsolu/public_html/modules/shop/views/item_detail/info.php" protected _data => array(3) ( "form" => NULL "errors" => NULL "var" => array(2) ( "item" => array(20) ( "id" => string(4) "2398" "it_code" => string(4) "2398" "it_name" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" "it_discontinued" => string(1) "0" "it_discount" => string(1) "0" "it_description" => string(0) "" "m_name" => string(13) "fab. nacional" "ca_name" => NULL "it_add_date" => string(10) "2022-11-28" "it_modif_date" => string(10) "2022-11-28" "ii_name" => string(23) "2398_20221128201533.jpg" "it_promote" => string(1) "0" "ip_price" => string(2) "23" "ip_client" => string(2) "22" "ip_dist" => string(2) "20" "ip_date" => NULL "ip_date_ini" => NULL "ip_date_end" => NULL "ip_suggested" => NULL "ip_check" => NULL ) "images" => array(1) ( 0 => array(2) ( "ii_name" => string(23) "2398_20221128201533.jpg" "ii_title" => string(55) "ADAPTADOR GENERICO USB 2.0 - RJ45 | USB ETHERNET RJ-45" ) ) ) ) }) }{ public app_name => string(15) "Next Soluciones" public app_long_name => string(31) "<b>Next Soluciones</b> E.I.R.L." public app_name_adv => string(9) "<b>N</b>S" public app_number_sunat => string(11) "20602357351" public app_name_sunat => string(41) "NEXT SOLUCIONES & DISTRIBUCIONES E.I.R.L." public app_address_sunat => string(65) "Av. MANUEL MARIA IZAGA NRO 755 - CHICLAYO - CHICLAYO - LAMBAYEQUE" public app_sunat_user => string(8) "NEXTSOLU" public app_sunat_password => string(12) "y3P7Bgcccp6g" public app_logo_mini => string(55) "<img src="/files/images/logo_mini.png" alt="logo mini">" public app_logo => string(50) "<img src="/files/images/logo_long.png" alt="logo">" public app_comercial_name => string(0) "" public app_ubigeo => string(6) "140101" public app_department => string(10) "LAMBAYEQUE" public app_province => string(8) "CHICLAYO" public app_district => string(8) "CHICLAYO" public app_urbanization => string(1) "-" public app_address => string(31) "AV. MANUEL MARIA IZAGA NRO. 755" public sunat_send => string(4) "PROD" public sunat_send_email => string(3) "YES" public app_phone => string(12) "(074) 237765" public app_sunat_resolution => bool FALSE public app_web_consult => string(43) "http://www.next-soluciones.com/sunatconsult" public sunat_format_number => integer 7 public representative_order => string(20) "Marco Vasquez Vargas" public order_header_info => string(382) "<p style="padding-bottom:15px;margin-bottom:15px;"> <strong >..:: Equipos de Computo e Impresión <br> …" public order_footer_info => string(729) "<div class="col-xs-12 invoice-col col-data-header" style:"text-align: left;width: 100%"> <strong>..::NEXT SOLUCIONES …" public order_footer_logos => string(1034) "<div class="logo-footer" > <img src="/files/system/manufacturer/logo_intel.jpg" class="logo-wrapper" style="width: 80 …" public document_header info => string(280) "<div class="bottom" style="font-family: verdana; font-style: normal; font-weight: 100;"><strong>NEXT SOLUCIONES Y DISTRIBUCIONES …" }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.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(13) "Productdetail" protected _action => string(5) "index" protected _uri => string(13) "productdetail" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "id" => string(4) "2398" ) 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 media => object Route(5){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _filters => array(0) protected _uri => string(27) "resource(/<file>(?id=<id>))" protected _regex => array(2) ( "file" => string(2) ".+" "id" => string(2) ".+" ) protected _defaults => array(3) ( "controller" => string(5) "Theme" "action" => string(5) "files" "file" => NULL ) protected _route_regex => string(53) "#^resource(?:/(?P<file>.+)(?:\?id\=(?P<id>.+))?)?$#uD" }}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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(13) "Productdetail" protected _action => string(5) "index" protected _uri => string(13) "productdetail" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "id" => string(4) "2398" ) 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) }}1object 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.1" }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 [ 993 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "shop" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(13) "Productdetail" protected _action => string(5) "index" protected _uri => string(13) "productdetail" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "id" => string(4) "2398" ) 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) }}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * 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 }

