MODPATH/database/classes/kohana/database/mysql.php [ 181 ]
176 {
177 // This benchmark is worthless
178 Profiler::delete($benchmark);
179 }
180
181 throw new Database_Exception(mysql_errno($this->_connection), '[:code] :error ( :query )', array(
182 ':code' => mysql_errno($this->_connection),
183 ':error' => mysql_error($this->_connection),
184 ':query' => $sql,
185 ));
186 }
-
MODPATH/database/classes/kohana/database/query.php [ 225 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(151) "SELECT `pages`.* FROM `pages` WHERE `url` = '����� - ����� ������������' ORDER BY `pages`.`lft` ASC LIMIT 1"
2
bool FALSE
3
array(0)
220 return new Database_Result_Cached($result, $sql, $this->_as_object, $this->_object_params); 221 } 222 } 223 224 // Execute the query 225 $result = $db->query($this->_type, $sql, $this->_as_object, $this->_object_params); 226 227 if (isset($cache_key)) 228 { 229 // Cache the result array 230 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/orm/classes/kohana/orm.php [ 1037 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "dc1ac3783aa1d368de5a29ffa4bf2de4ac331935" protected _identifier => string(1) "`" public last_query => string(30) "SHOW FULL COLUMNS FROM `pages`" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(4) ( "hostname" => string(9) "localhost" "database" => string(14) "stroiset_stroi" "persistent" => bool FALSE "port" => integer 2593 ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
1032 return $result; 1033 } 1034 else 1035 { 1036 // Load the result as an associative array 1037 $result = $this->_db_builder->as_assoc()->execute($this->_db); 1038 1039 $this->reset(); 1040 1041 if ($result->count() === 1) 1042 {
-
MODPATH/orm/classes/kohana/orm.php [ 963 ] » Kohana_ORM->_load_result(arguments)
0
bool FALSE
958 } 959 } 960 961 $this->_build(Database::SELECT); 962 963 return $this->_load_result(FALSE); 964 } 965 966 /** 967 * Finds multiple database rows and returns an iterator of the rows found. 968 *
-
APPPATH/classes/controller/index.php [ 100 ] » Kohana_ORM->find()
95 $xml=readfile($htmlfile); 96 $this->response->body( $xml ); 97 98 } 99 else{ 100 $page = ORM::factory('page')->where('url', '=', $url)->find(); 101 $pageid=$page->id; 102 /* 103 setcookie( 104 'pageVisits', // Имя cookie, обязательно 105 'qqq', // значение cookie
-
{PHP internal call} » Controller_Index->action_index(arguments)
0
string(70) "����� - ����� ������������"
-
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Index(2)
{ public request => object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(5) "https" protected _referrer => string(228) "https://stroiset.ru/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%20-%20%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%20%EF%BF%B …" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(9) "(<stuff>)" protected _regex => array(1) ( "stuff" => string(4) "(.*)" ) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(26) "#^(?:(?P<stuff>(.*)))?$#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(5) "https" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "index" protected _action => string(5) "index" protected _uri => string(70) "����� - ����� ������������" protected _external => bool FALSE protected _params => array(1) ( "stuff" => string(70) "����� - ����� ������������" ) protected _get => array(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 1711659655 }
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(5) "https" }1
array(1) ( "stuff" => string(70) "����� - ����� ������������" )
127 * Execute the main action with the parameters 128 * 129 * @deprecated $params passing is deprecated since version 3.1 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
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(5) "https" protected _referrer => string(228) "https://stroiset.ru/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%20-%20%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%20%EF%BF%B …" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(9) "(<stuff>)" protected _regex => array(1) ( "stuff" => string(4) "(.*)" ) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(26) "#^(?:(?P<stuff>(.*)))?$#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(5) "https" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "index" protected _action => string(5) "index" protected _uri => string(70) "����� - ����� ������������" protected _external => bool FALSE protected _params => array(1) ( "stuff" => string(70) "����� - ����� ������������" ) protected _get => array(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 1711659655 }
public _injected_routes => array(0) }1133 throw new Kohana_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();