MODPATH/database/classes/kohana/database/mysql.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/database/classes/kohana/database/query.php [ 245 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(473) "SELECT `product`.* FROM `products` AS `product` WHERE `id` IN ('7438', '7439', '7440', '7441', '7442', '7443', '7444', '7445', ' …"
2
string(13) "Model_Product"
3
array(0)
240 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 241 } 242 } 243 244 // Execute the query 245 $result = $db->query($this->_type, $sql, $as_object, $object_params); 246 247 if (isset($cache_key) AND $this->_lifetime > 0) 248 { 249 // Cache the result array 250 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/orm/classes/kohana/orm.php [ 963 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "06ae644dd9beb11bbdea92eb1bc19727e49c1563" protected _identifier => string(1) "`" public last_query => string(118) "SELECT `productscategories`.* FROM `products_categories` AS `productscategories` WHERE `category_id` IN ('900', '901')" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "lux_shop_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
958 } 959 960 if ($multiple === TRUE) 961 { 962 // Return database iterator casting to this object type 963 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db); 964 965 $this->reset(); 966 967 return $result; 968 }
-
MODPATH/orm/classes/kohana/orm.php [ 922 ] » Kohana_ORM->_load_result(arguments)
0
bool TRUE
917 } 918 } 919 920 $this->_build(Database::SELECT); 921 922 return $this->_load_result(TRUE); 923 } 924 925 /** 926 * Loads a database result, either as a new record for this model, or as 927 * an iterator for multiple rows.
-
APPPATH/classes/controller/frontend/catalog.php [ 190 ] » Kohana_ORM->find_all()
185 $randproducts = $categoryproducts 186 ->order_by(DB::expr('RAND()')) 187 //->order_by('available', 'DESC')->order_by('name') 188 ->limit(30) 189 ->and_where('brand_id', 'in', $categorybrands->as_array('id')) 190 ->find_all(); 191 192 if($randproducts->count()>0) $vrandproducts = View::factory('frontend/catalog/product/v_productbox') 193 ->bind('products', $randproducts); 194 } 195
-
{PHP internal call} » Controller_Frontend_Catalog->action_catalog()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Frontend_Catalog(17)
{ public template => object View(2)
{ protected _file => string(68) "/home/lux/sites/luxshop.com.ua/application/views/frontend/v_base.php" protected _data => array(9) ( "title" => string(241) "Профессиональная косметика, уход за волосами L'oreal, Kerastase – купить в Киеве, Украине | Интернет-магазин косметики и парфюме …" "meta_description" => string(195) "Интернет-магазин профессиональной косметики L'Oreal Professionnel, Kerastase. Доставка по Киеву и Украине. LuxShop.com.ua, 2010- …" "meta_keywords" => string(154) "Профессиональная косметика, уход за волосами, купить, Украина, Киев, L'Oreal, парфюмерия" "styles" => array(3) ( 0 => string(19) "media/css/reset.css" 1 => string(23) "media/css/bootstrap.css" 2 => string(19) "media/css/style.css" ) "scripts" => array(15) ( 0 => string(22) "media/js/siteconfig.js" 1 => string(18) "media/js/jquery.js" 2 => string(25) "media/js/jquery-ui.min.js" 3 => string(25) "media/js/slides.jquery.js" 4 => string(27) "media/js/jquery.lazyload.js" 5 => string(31) "media/js/jquery.autocomplete.js" 6 => string(31) "media/js/highslide/highslide.js" 7 => string(27) "media/js/bootstrap-modal.js" 8 => string(27) "media/js/bootstrap-alert.js" 9 => string(25) "media/js/bootstrap-tab.js" 10 => string(30) "media/js/bootstrap-carousel.js" 11 => string(29) "media/js/bootstrap-tooltip.js" 12 => string(29) "media/js/bootstrap-popover.js" 13 => string(29) "media/js/frontend/frontend.js" 14 => string(29) "media/js/frontend/mainpage.js" ) "header" => object View(2)
public discounts => NULL public currentmenu => integer 1 public seo_text => string(0) "" public current_category => object Model_Category(39){ protected _file => string(81) "/home/lux/sites/luxshop.com.ua/application/views/frontend/header/v_mainheader.php" protected _data => array(5) ( "link" => string(82) "<a href="/" class="logo"><img src="/media/img/design/luxshop/logo_main.png" /></a>" "count_products_in_shop_cart" => integer 0 "authlinks" => object View(2)
"left" => object View(2){ protected _file => string(77) "/home/lux/sites/luxshop.com.ua/application/views/frontend/login/v_nologin.php" protected _data => array(0) }
"pages" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(91) "SELECT `page`.* FROM `pages` AS `page` WHERE `topmenu` = 1 AND `show` = 1 ORDER BY `number`" protected _result => resource(mysql result) protected _total_rows => integer 5 protected _current_row => integer 0 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }
"current" => integer 1 ) }{ protected _file => string(77) "/home/lux/sites/luxshop.com.ua/application/views/frontend/left/v_leftmenu.php" protected _data => array(3) ( "categories" => object Database_MySQL_Result(7)
"alphabet" => object View(2){ protected _internal_row => integer 0 protected _query => string(102) "SELECT `category`.* FROM `categories` AS `category` WHERE `lvl` = 2 AND `show` = 1 ORDER BY `position`" protected _result => resource(mysql result) protected _total_rows => integer 14 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"current_categories" => NULL "current_category" => object Model_Category(39){ protected _table_name => string(10) "categories" protected _table_columns => array(20) ( "id" => array(1) ( "type" => string(3) "int" ) "parent_id" => array(1) ( "type" => string(3) "int" ) "lft" => array(1) ( "type" => string(3) "int" ) "rgt" => array(1) ( "type" => string(3) "int" ) "lvl" => array(1) ( "type" => string(3) "int" ) "scope" => array(1) ( "type" => string(3) "int" ) "name" => array(1) ( "type" => string(7) "varchar" ) "description" => array(1) ( "type" => string(4) "text" ) "url" => array(1) ( "type" => string(7) "varchar" ) "picture" => array(1) ( "type" => string(7) "varchar" ) "seo_title" => array(1) ( "type" => string(7) "varchar" ) "seo_description" => array(1) ( "type" => string(4) "text" ) "seo_keywords" => array(1) ( "type" => string(7) "varchar" ) "seo_text" => array(1) ( "type" => string(4) "text" ) "show" => array(1) ( "type" => string(7) "tinyint" ) "position" => array(1) ( "type" => string(3) "int" ) "date" => array(1) ( "type" => string(3) "int" ) "dateadd" => array(1) ( "type" => string(3) "int" ) "user_id" => array(1) ( "type" => string(3) "int" ) "deleted" => array(1) ( "type" => string(3) "int" ) ) protected _primary_key => string(2) "id" protected _has_many => array(2) ( "products" => array(4) ( "model" => string(7) "product" "foreign_key" => string(11) "category_id" "through" => string(19) "products_categories" "far_key" => string(10) "product_id" ) "brands" => array(4) ( "model" => string(5) "brand" "foreign_key" => string(11) "category_id" "through" => string(17) "brands_categories" "far_key" => string(8) "brand_id" ) ) protected _belongs_to => array(2) ( "parent" => array(2) ( "model" => string(8) "category" "foreign_key" => string(9) "parent_id" ) "user" => array(2) ( "model" => string(4) "user" "foreign_key" => string(7) "user_id" ) ) public left_column => string(3) "lft" public right_column => string(3) "rgt" public level_column => string(3) "lvl" public scope_column => string(5) "scope" public parent_column => string(9) "parent_id" protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(21) ( "id" => string(3) "899" "parent_id" => string(1) "1" "lft" => string(3) "246" "rgt" => string(3) "251" "lvl" => string(1) "2" "scope" => string(1) "1" "name" => string(49) "Профилактические средства" "description" => string(0) "" "url" => string(26) "profilakticheskie-sredstva" "picture" => NULL "seo_title" => string(119) "Профессиональные средства для оздоровления Купить Киев, Украина" "seo_description" => string(275) "Купить профилактические средства для оздоровления в интернет магазине. Вся продукция от мировых брендов и высокого качества. Дос …" "seo_keywords" => string(93) "Уход за организмом, домашний уход для оздоровления" "seo_text" => string(0) "" "show" => string(1) "1" "position" => string(2) "99" "date" => NULL "dateadd" => NULL "user_id" => NULL "deleted" => NULL "oldurl" => NULL ) protected _changed => array(0) protected _original_values => array(21) ( "id" => string(3) "899" "parent_id" => string(1) "1" "lft" => string(3) "246" "rgt" => string(3) "251" "lvl" => string(1) "2" "scope" => string(1) "1" "name" => string(49) "Профилактические средства" "description" => string(0) "" "url" => string(26) "profilakticheskie-sredstva" "picture" => NULL "seo_title" => string(119) "Профессиональные средства для оздоровления Купить Киев, Украина" "seo_description" => string(275) "Купить профилактические средства для оздоровления в интернет магазине. Вся продукция от мировых брендов и высокого качества. Дос …" "seo_keywords" => string(93) "Уход за организмом, домашний уход для оздоровления" "seo_text" => string(0) "" "show" => string(1) "1" "position" => string(2) "99" "date" => NULL "dateadd" => NULL "user_id" => NULL "deleted" => NULL "oldurl" => NULL ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => array(1) ( "lft" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "category" protected _object_plural => string(10) "categories" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(3) "899" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "06ae644dd9beb11bbdea92eb1bc19727e49c1563" protected _identifier => string(1) "`" public last_query => string(118) "SELECT `productscategories`.* FROM `products_categories` AS `productscategories` WHERE `category_id` IN ('900', '901')" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "lux_shop_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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) "category" }{ protected _file => string(78) "/home/lux/sites/luxshop.com.ua/application/views/frontend/right/v_alphabet.php" protected _data => array(1) ( "alphas" => object Database_MySQL_Result(7)
"footer" => array(5) ( 0 => object View(2){ protected _internal_row => integer 0 protected _query => string(66) "SELECT `alphabet`.* FROM `alphabet` AS `alphabet` ORDER BY `alpha`" protected _result => resource(mysql result) protected _total_rows => integer 27 protected _current_row => integer 0 protected _as_object => string(14) "Model_Alphabet" protected _object_params => NULL }
) }{ protected _file => string(77) "/home/lux/sites/luxshop.com.ua/application/views/frontend/footer/v_footer.php" protected _data => array(2) ( "pages" => object Database_MySQL_Result(7)
1 => object View(2){ protected _internal_row => integer 0 protected _query => string(91) "SELECT `page`.* FROM `pages` AS `page` WHERE `topmenu` = 1 AND `show` = 1 ORDER BY `number`" protected _result => resource(mysql result) protected _total_rows => integer 5 protected _current_row => integer 0 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }
"brands" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(80) "SELECT `brand`.* FROM `brands` AS `brand` WHERE `show` = 1 AND `deleted` IS NULL" protected _result => resource(mysql result) protected _total_rows => integer 46 protected _current_row => integer 0 protected _as_object => string(11) "Model_Brand" protected _object_params => NULL }
) }{ protected _file => string(84) "/home/lux/sites/luxshop.com.ua/application/views/frontend/footer/v_footerseotext.php" protected _data => array(1) ( "seo_text" => string(0) "" ) }
2 => object View(2){ protected _file => string(76) "/home/lux/sites/luxshop.com.ua/application/views/frontend/modal/v_signin.php" protected _data => array(0) }
3 => object View(2){ protected _file => string(78) "/home/lux/sites/luxshop.com.ua/application/views/frontend/modal/v_shopcart.php" protected _data => array(1) ( "contentshopcart" => NULL ) }
4 => object View(2){ protected _file => string(78) "/home/lux/sites/luxshop.com.ua/application/views/frontend/modal/v_callback.php" protected _data => array(0) }
) ) }{ protected _table_name => string(10) "categories" protected _table_columns => array(20) ( "id" => array(1) ( "type" => string(3) "int" ) "parent_id" => array(1) ( "type" => string(3) "int" ) "lft" => array(1) ( "type" => string(3) "int" ) "rgt" => array(1) ( "type" => string(3) "int" ) "lvl" => array(1) ( "type" => string(3) "int" ) "scope" => array(1) ( "type" => string(3) "int" ) "name" => array(1) ( "type" => string(7) "varchar" ) "description" => array(1) ( "type" => string(4) "text" ) "url" => array(1) ( "type" => string(7) "varchar" ) "picture" => array(1) ( "type" => string(7) "varchar" ) "seo_title" => array(1) ( "type" => string(7) "varchar" ) "seo_description" => array(1) ( "type" => string(4) "text" ) "seo_keywords" => array(1) ( "type" => string(7) "varchar" ) "seo_text" => array(1) ( "type" => string(4) "text" ) "show" => array(1) ( "type" => string(7) "tinyint" ) "position" => array(1) ( "type" => string(3) "int" ) "date" => array(1) ( "type" => string(3) "int" ) "dateadd" => array(1) ( "type" => string(3) "int" ) "user_id" => array(1) ( "type" => string(3) "int" ) "deleted" => array(1) ( "type" => string(3) "int" ) ) protected _primary_key => string(2) "id" protected _has_many => array(2) ( "products" => array(4) ( "model" => string(7) "product" "foreign_key" => string(11) "category_id" "through" => string(19) "products_categories" "far_key" => string(10) "product_id" ) "brands" => array(4) ( "model" => string(5) "brand" "foreign_key" => string(11) "category_id" "through" => string(17) "brands_categories" "far_key" => string(8) "brand_id" ) ) protected _belongs_to => array(2) ( "parent" => array(2) ( "model" => string(8) "category" "foreign_key" => string(9) "parent_id" ) "user" => array(2) ( "model" => string(4) "user" "foreign_key" => string(7) "user_id" ) ) public left_column => string(3) "lft" public right_column => string(3) "rgt" public level_column => string(3) "lvl" public scope_column => string(5) "scope" public parent_column => string(9) "parent_id" protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(21) ( "id" => string(3) "899" "parent_id" => string(1) "1" "lft" => string(3) "246" "rgt" => string(3) "251" "lvl" => string(1) "2" "scope" => string(1) "1" "name" => string(49) "Профилактические средства" "description" => string(0) "" "url" => string(26) "profilakticheskie-sredstva" "picture" => NULL "seo_title" => string(119) "Профессиональные средства для оздоровления Купить Киев, Украина" "seo_description" => string(275) "Купить профилактические средства для оздоровления в интернет магазине. Вся продукция от мировых брендов и высокого качества. Дос …" "seo_keywords" => string(93) "Уход за организмом, домашний уход для оздоровления" "seo_text" => string(0) "" "show" => string(1) "1" "position" => string(2) "99" "date" => NULL "dateadd" => NULL "user_id" => NULL "deleted" => NULL "oldurl" => NULL ) protected _changed => array(0) protected _original_values => array(21) ( "id" => string(3) "899" "parent_id" => string(1) "1" "lft" => string(3) "246" "rgt" => string(3) "251" "lvl" => string(1) "2" "scope" => string(1) "1" "name" => string(49) "Профилактические средства" "description" => string(0) "" "url" => string(26) "profilakticheskie-sredstva" "picture" => NULL "seo_title" => string(119) "Профессиональные средства для оздоровления Купить Киев, Украина" "seo_description" => string(275) "Купить профилактические средства для оздоровления в интернет магазине. Вся продукция от мировых брендов и высокого качества. Дос …" "seo_keywords" => string(93) "Уход за организмом, домашний уход для оздоровления" "seo_text" => string(0) "" "show" => string(1) "1" "position" => string(2) "99" "date" => NULL "dateadd" => NULL "user_id" => NULL "deleted" => NULL "oldurl" => NULL ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => array(1) ( "lft" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "category" protected _object_plural => string(10) "categories" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(3) "899" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
public current_brand => NULL public current_series => NULL public current_product => NULL public system_user => bool FALSE public cookies => bool TRUE protected auth => object Auth_ORM(2){ protected _connection_id => string(40) "06ae644dd9beb11bbdea92eb1bc19727e49c1563" protected _identifier => string(1) "`" public last_query => string(118) "SELECT `productscategories`.* FROM `products_categories` AS `productscategories` WHERE `category_id` IN ('900', '901')" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "lux_shop_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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) "category" }{ protected _session => object Session_Database(11)
protected session => object Session_Database(11){ protected _db => object Database_MySQL(6)
protected _config => object Config_Group(7){ protected _connection_id => string(40) "06ae644dd9beb11bbdea92eb1bc19727e49c1563" protected _identifier => string(1) "`" public last_query => string(118) "SELECT `productscategories`.* FROM `products_categories` AS `productscategories` WHERE `category_id` IN ('900', '901')" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "lux_shop_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "65f93df9599f93-41161880" protected _update_id => NULL protected _name => string(7) "session" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }{ public driver => string(3) "ORM" public hash_method => string(3) "md5" public hash_key => string(30) "11, 15, 21, 34, 43, 45, 48, 51" public lifetime => integer 1209600 public session_type => string(8) "database" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _db => object Database_MySQL(6)
protected config => array(4) ( "root_email" => string(24) "kozma.vladimir@gmail.com" "admin_email" => string(24) "kozma.vladimir@gmail.com" "site_name" => string(14) "LuxShop.com.ua" "site_email" => string(24) "kozma.vladimir@gmail.com" ) public auto_render => bool TRUE public request => object Request(21){ protected _connection_id => string(40) "06ae644dd9beb11bbdea92eb1bc19727e49c1563" protected _identifier => string(1) "`" public last_query => string(118) "SELECT `productscategories`.* FROM `products_categories` AS `productscategories` WHERE `category_id` IN ('900', '901')" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "lux_shop_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(3) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" ) protected _gc => integer 500 protected _session_id => string(23) "65f93df9599f93-41161880" protected _update_id => NULL protected _name => string(7) "session" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(48) "http://luxshop.com.ua/profilakticheskie-sredstva" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(37) "<category>(/<brand>(/<product>.html))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(8) "frontend" "controller" => string(7) "catalog" "action" => string(7) "catalog" ) protected _route_regex => string(98) "#^(?P<category>[^/.,;?\n]++)(?:/(?P<brand>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)\.html)?)?$#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(8) "frontend" protected _controller => string(7) "catalog" protected _action => string(7) "catalog" protected _uri => string(26) "profilakticheskie-sredstva" protected _external => bool FALSE protected _params => array(1) ( "category" => string(26) "profilakticheskie-sredstva" ) 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)
public current_categories => NULL }{ }
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 => string(48) "http://luxshop.com.ua/profilakticheskie-sredstva" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(37) "<category>(/<brand>(/<product>.html))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(8) "frontend" "controller" => string(7) "catalog" "action" => string(7) "catalog" ) protected _route_regex => string(98) "#^(?P<category>[^/.,;?\n]++)(?:/(?P<brand>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)\.html)?)?$#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(8) "frontend" protected _controller => string(7) "catalog" protected _action => string(7) "catalog" protected _uri => string(26) "profilakticheskie-sredstva" protected _external => bool FALSE protected _params => array(1) ( "category" => string(26) "profilakticheskie-sredstva" ) 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 => string(48) "http://luxshop.com.ua/profilakticheskie-sredstva" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(37) "<category>(/<brand>(/<product>.html))" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(8) "frontend" "controller" => string(7) "catalog" "action" => string(7) "catalog" ) protected _route_regex => string(98) "#^(?P<category>[^/.,;?\n]++)(?:/(?P<brand>[^/.,;?\n]++)(?:/(?P<product>[^/.,;?\n]++)\.html)?)?$#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(8) "frontend" protected _controller => string(7) "catalog" protected _action => string(7) "catalog" protected _uri => string(26) "profilakticheskie-sredstva" protected _external => bool FALSE protected _params => array(1) ( "category" => string(26) "profilakticheskie-sredstva" ) 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 [ 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();