MODPATH/database/classes/Kohana/Database/MySQLi.php [ 67 ]
62 }
63 }
64 catch (ErrorException $e)
65 {
66 throw new Database_Exception('[:code] :error', array(
67 ':code' => $this->_connection->connect_errno,
68 ':error' => $this->_connection->connect_error,
69 ), $this->_connection->connect_errno);
70
71 // No connection exists
72 $this->_connection = NULL;
-
MODPATH/database/classes/Kohana/Database/MySQLi.php [ 67 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(77) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/MySQLi.php"
3
integer 67
4
array(8) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE "hostname" => string(0) "" "port" => string(4) "3306" "e" => object ErrorException(8)
{ protected message => string(104) "mysqli::mysqli(): (HY000/1044): Access denied for user 'ortomini'@'localhost' to database 'ortomini_old'" private string => string(0) "" protected code => integer 2 protected file => string(77) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/MySQLi.php" protected line => integer 61 private trace => array(16) ( 0 => array(4) ( "function" => string(13) "error_handler" "class" => string(11) "Kohana_Core" "type" => string(2) "::" "args" => array(5) ( 0 => integer 2 1 => string(104) "mysqli::mysqli(): (HY000/1044): Access denied for user 'ortomini'@'localhost' to database 'ortomini_old'" 2 => string(77) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/MySQLi.php" 3 => integer 61 4 => array(7) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE "hostname" => string(0) "" "port" => string(4) "3306" ) ) ) 1 => array(6) ( "file" => string(77) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/MySQLi.php" "line" => integer 61 "function" => string(6) "mysqli" "class" => string(6) "mysqli" "type" => string(2) "->" "args" => array(6) ( 0 => string(0) "" 1 => string(8) "ortomini" 2 => string(16) "6xLDw4y7VPyQXCKP" 3 => string(12) "ortomini_old" 4 => string(4) "3306" 5 => string(27) "/var/run/mysqld/mysqld.sock" ) ) 2 => array(6) ( "file" => string(77) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/MySQLi.php" "line" => integer 424 "function" => string(7) "connect" "class" => string(22) "Kohana_Database_MySQLi" "type" => string(2) "->" "args" => array(0) ) 3 => array(6) ( "file" => string(70) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database.php" "line" => integer 473 "function" => string(6) "escape" "class" => string(22) "Kohana_Database_MySQLi" "type" => string(2) "->" "args" => array(1) ( 0 => string(7) "1202028" ) ) 4 => array(6) ( "file" => string(84) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/Query/Builder.php" "line" => integer 116 "function" => string(5) "quote" "class" => string(15) "Kohana_Database" "type" => string(2) "->" "args" => array(1) ( 0 => string(7) "1202028" ) ) 5 => array(6) ( "file" => string(91) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/Query/Builder/Select.php" "line" => integer 372 "function" => string(19) "_compile_conditions" "class" => string(29) "Kohana_Database_Query_Builder" "type" => string(2) "->" "args" => array(2) ( 0 => object Database_MySQLi(6)
){ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(3) "old" protected _connection => NULL protected _config => array(6) ( "type" => string(6) "mySQLi" "connection" => array(5) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
1 => array(1) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(2) "id" 1 => string(1) "=" 2 => string(7) "1202028" ) ) ) ) ) 6 => array(6) ( "file" => string(76) "/home/web/ortomini.ru/www/modules/database/classes/Kohana/Database/Query.php" "line" => integer 234 "function" => string(7) "compile" "class" => string(36) "Kohana_Database_Query_Builder_Select" "type" => string(2) "->" "args" => array(1) ( 0 => object Database_MySQLi(6){ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(3) "old" protected _connection => NULL protected _config => array(6) ( "type" => string(6) "mySQLi" "connection" => array(5) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
) ) 7 => array(6) ( "file" => string(64) "/home/web/ortomini.ru/www/application/classes/Model/Redirect.php" "line" => integer 40 "function" => string(7) "execute" "class" => string(21) "Kohana_Database_Query" "type" => string(2) "->" "args" => array(1) ( 0 => string(3) "old" ) ) 8 => array(6) ( "file" => string(64) "/home/web/ortomini.ru/www/application/classes/Model/Redirect.php" "line" => integer 29 "function" => string(17) "check_old_product" "class" => string(14) "Model_Redirect" "type" => string(2) "::" "args" => array(1) ( 0 => string(7) "1202028" ) ) 9 => array(6) ( "file" => string(66) "/home/web/ortomini.ru/www/application/classes/Controller/Pages.php" "line" => integer 12 "function" => string(13) "check_old_url" "class" => string(14) "Model_Redirect" "type" => string(2) "::" "args" => array(0) ) 10 => array(6) ( "file" => string(62) "/home/web/ortomini.ru/www/system/classes/Kohana/Controller.php" "line" => integer 69 "function" => string(6) "before" "class" => string(16) "Controller_Pages" "type" => string(2) "->" "args" => array(0) ) 11 => array(4) ( "function" => string(7) "execute" "class" => string(17) "Kohana_Controller" "type" => string(2) "->" "args" => array(0) ) 12 => array(6) ( "file" => string(75) "/home/web/ortomini.ru/www/system/classes/Kohana/Request/Client/Internal.php" "line" => integer 97 "function" => string(6) "invoke" "class" => string(16) "ReflectionMethod" "type" => string(2) "->" "args" => array(1) ( 0 => object Controller_Pages(4){ private _regions_page_ids => NULL private _cities_page => NULL public request => object Request(19)
) ) 13 => array(6) ( "file" => string(66) "/home/web/ortomini.ru/www/system/classes/Kohana/Request/Client.php" "line" => integer 114 "function" => string(15) "execute_request" "class" => string(30) "Kohana_Request_Client_Internal" "type" => string(2) "->" "args" => array(2) ( 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(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
1 => object Response(5){ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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)
) ) 14 => array(6) ( "file" => string(59) "/home/web/ortomini.ru/www/system/classes/Kohana/Request.php" "line" => integer 986 "function" => string(7) "execute" "class" => string(21) "Kohana_Request_Client" "type" => string(2) "->" "args" => array(1) ( 0 => object Request(19){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
) ) 15 => array(6) ( "file" => string(35) "/home/web/ortomini.ru/www/index.php" "line" => integer 126 "function" => string(7) "execute" "class" => string(14) "Kohana_Request" "type" => string(2) "->" "args" => array(0) ) ) private previous => NULL protected severity => integer 0 }{ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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) }
}62 } 63 } 64 catch (ErrorException $e) 65 { 66 throw new Database_Exception('[:code] :error', array( 67 ':code' => $this->_connection->connect_errno, 68 ':error' => $this->_connection->connect_error, 69 ), $this->_connection->connect_errno); 70 71 // No connection exists 72 $this->_connection = NULL;
-
MODPATH/database/classes/Kohana/Database/MySQLi.php [ 424 ] » Kohana_Database_MySQLi->connect()
419 } 420 421 public function escape($value) 422 { 423 // Make sure the database is connected 424 $this->_connection or $this->connect(); 425 426 if (($value = $this->_connection->real_escape_string((string) $value)) === FALSE) 427 { 428 throw new Database_Exception('[:code] :error', array( 429 ':code' => $this->_connection->errno,
-
MODPATH/database/classes/Kohana/Database.php [ 473 ] » Kohana_Database_MySQLi->escape(arguments)
0
string(7) "1202028"
468 { 469 // Convert to non-locale aware float to prevent possible commas 470 return sprintf('%F', $value); 471 } 472 473 return $this->escape($value); 474 } 475 476 /** 477 * Quote a database column name and add the table prefix if needed. 478 *
-
MODPATH/database/classes/Kohana/Database/Query/Builder.php [ 116 ] » Kohana_Database->quote(arguments)
0
string(7) "1202028"
111 $value = $min.' AND '.$max; 112 } 113 elseif ((is_string($value) AND array_key_exists($value, $this->_parameters)) === FALSE) 114 { 115 // Quote the value, it is not a parameter 116 $value = $db->quote($value); 117 } 118 119 if ($column) 120 { 121 if (is_array($column))
-
MODPATH/database/classes/Kohana/Database/Query/Builder/Select.php [ 372 ] » Kohana_Database_Query_Builder->_compile_conditions(arguments)
0
object Database_MySQLi(6)
{ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(3) "old" protected _connection => NULL protected _config => array(6) ( "type" => string(6) "mySQLi" "connection" => array(5) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
1
array(1) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(2) "id" 1 => string(1) "=" 2 => string(7) "1202028" ) ) )
367 } 368 369 if ( ! empty($this->_where)) 370 { 371 // Add selection conditions 372 $query .= ' WHERE '.$this->_compile_conditions($db, $this->_where); 373 } 374 375 if ( ! empty($this->_group_by)) 376 { 377 // Add grouping
-
MODPATH/database/classes/Kohana/Database/Query.php [ 234 ] » Kohana_Database_Query_Builder_Select->compile(arguments)
0
object Database_MySQLi(6)
{ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(3) "old" protected _connection => NULL protected _config => array(6) ( "type" => string(6) "mySQLi" "connection" => array(5) ( "socket" => string(27) "/var/run/mysqld/mysqld.sock" "database" => string(12) "ortomini_old" "username" => string(8) "ortomini" "password" => string(16) "6xLDw4y7VPyQXCKP" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
229 { 230 $object_params = $this->_object_params; 231 } 232 233 // Compile the SQL query 234 $sql = $this->compile($db); 235 236 if ($this->_lifetime !== NULL AND $this->_type === Database::SELECT) 237 { 238 // Set the cache key based on the database instance name and SQL 239 $cache_key = 'Database::query("'.$db.'", "'.$sql.'")';
-
APPPATH/classes/Model/Redirect.php [ 40 ] » Kohana_Database_Query->execute(arguments)
0
string(3) "old"
35 36 public static function check_old_product($id){ 37 $article = DB::select('article') 38 ->from('products') 39 ->where('id','=',$id) 40 ->execute('old') 41 ->get('article'); 42 if($article){ 43 $product = ORM::factory('product') 44 ->where('articul','=',$article) 45 ->find();
-
APPPATH/classes/Model/Redirect.php [ 29 ] » Model_Redirect::check_old_product(arguments)
0
string(7) "1202028"
24 25 public static function check_old_url(){ 26 $uri = Request::$initial->uri(); 27 $stages = explode('/', $uri); 28 if($stages[0] == 'product'){ 29 if($product_url = self::check_old_product(array_pop($stages))){ 30 return($product_url); 31 } 32 } 33 34 }
-
APPPATH/classes/Controller/Pages.php [ 12 ] » Model_Redirect::check_old_url()
7 $from = $this->request->uri(); 8 $redirect = Model_Redirect::check_redirect($from); 9 if ($redirect) $this->redirect($redirect->to, $redirect->code); 10 11 //Проверка на старые урлы 12 $new_url = Model_Redirect::check_old_url(); 13 if ($new_url) $this->redirect($new_url, 301); 14 15 Display::init($this->request, $this->response); 16 } 17
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Pages->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Pages(4)
{ private _regions_page_ids => NULL private _cities_page => NULL 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(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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)
}{ }
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(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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 [ 986 ] » 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(113) "http://www.ortomini.ru/product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(96) "(<page>(/<stage1>(/<stage2>(/<stage3>(/<stage4>(/<stage5>(/<stage6>(/<stage7>(/<stage8>)))))))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(273) "#^(?:(?P<page>[^/.,;?\n]++)(?:/(?P<stage1>[^/.,;?\n]++)(?:/(?P<stage2>[^/.,;?\n]++)(?:/(?P<stage3>[^/.,;?\n]++)(?:/(?P<stage4>[^ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Pages" protected _action => string(5) "index" protected _uri => string(90) "product/detskaya_obuv/zimnyaya_obuv/zimnyaya_obuv/zimnyaya_obuv_100_naturalniy_meh/1202028" protected _external => bool FALSE protected _params => array(6) ( "page" => string(7) "product" "stage1" => string(13) "detskaya_obuv" "stage2" => string(13) "zimnyaya_obuv" "stage3" => string(13) "zimnyaya_obuv" "stage4" => string(32) "zimnyaya_obuv_100_naturalniy_meh" "stage5" => string(7) "1202028" ) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 126 ] » Kohana_Request->execute()
121 /** 122 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 123 * If no source is specified, the URI will be automatically detected. 124 */ 125 echo Request::factory(TRUE, array(), FALSE) 126 ->execute() 127 ->send_headers(TRUE) 128 ->body(); 129 }