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(98) "SELECT * FROM ss_products WHERE enabled=1 and sale_type in(2,3) and id<> ORDER BY rand() LIMIT 3 "
2
bool FALSE
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);
-
APPPATH/classes/controller/common.php [ 248 ] » Kohana_Database_Query->execute()
243 { 244 $data['page']--; 245 } 246 247 248 $all_prods = DB::query(Database::SELECT, 'SELECT * FROM ss_products WHERE enabled=1 and '.$pre_filter)->execute()->as_array(); 249 250 251 252 $brand_array[] = 0; 253 foreach ($all_prods as $prod)
-
APPPATH/classes/controller/catalog.php [ 69 ] » Controller_Common->good_list_no_groups(arguments)
0
NULL
1
string(52) " sale_type in(2,3) and id<> ORDER BY rand() LIMIT 3 "
64 } else { 65 $fpr = $this->good_list_no_groups($data," sale_type in(2,3) and article='".$_GET['video']."' LIMIT 1 "); 66 } 67 $this->template->fpr = $fpr['prods']; 68 //print_r($fpr); 69 $fprs = $this->good_list_no_groups($data," sale_type in(2,3) and id<>".$fpr['prods'][0]['id']." ORDER BY rand() LIMIT 3 "); 70 $this->template->fprs = $fprs['prods']; 71 } 72 73 $this->get_root_id($cat); 74 $this->get_root($cat);
-
{PHP internal call} » Controller_Catalog->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Catalog(17)
{ public template => object View(2)
{ protected _file => string(71) "/home/video2v/domains/video2v.ru/public_html/application/views/main.php" protected _data => array(5) ( "info" => object Model_Info(34)
public vertmenu => array(7) ( 29 => array(4) ( "link" => string(7) "company" "active" => integer 0 "name" => string(16) "Компания" "children" => array(0) ) 3 => array(4) ( "link" => string(9) "portfolio" "active" => integer 0 "name" => string(18) "Портфолио" "children" => array(0) ) 36 => array(4) ( "link" => string(7) "produkt" "active" => integer 0 "name" => string(12) "Услуги" "children" => array(0) ) 26 => array(4) ( "link" => string(7) "vacancy" "active" => integer 0 "name" => string(16) "Вакансия" "children" => array(0) ) 6 => array(4) ( "link" => string(15) "sotrudnichestvo" "active" => integer 0 "name" => string(28) "Сотрудничество" "children" => array(0) ) 10 => array(4) ( "link" => string(10) "Price-list" "active" => integer 0 "name" => string(19) "Прайс-лист" "children" => array(0) ) 8 => array(4) ( "link" => string(8) "kontakti" "active" => integer 0 "name" => string(16) "Контакты" "children" => array(0) ) ) public hormenu => array(0) public upmenu => array(0) public gen_info => object Model_Info(34){ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(18) ( "id" => string(1) "1" "name" => string(25) "Видеостудия 2V" "address" => string(0) "" "phone" => string(15) "8-921-375-33-16" "phone2" => string(0) "" "phone3" => string(0) "" "email" => string(15) "info@video2v.ru" "worktime" => string(1) "-" "text1" => string(0) "" "text2" => string(0) "" "text3" => string(0) "" "use_captcha" => string(1) "0" "vk" => string(24) "https://vk.com/vstudio2v" "fb" => string(0) "" "tw" => string(0) "" "yt" => string(56) "https://www.youtube.com/channel/UCsxvZwAkmUdHbZw50GF3JXg" "poll_head" => string(0) "" "poll" => string(210) "<!-- Put this div tag to the place, where the Poll block will be --> <div id="vk_poll"></div> <script type="text/javascript"> VK …" ) protected _changed => array(0) protected _original_values => array(18) ( "id" => string(1) "1" "name" => string(25) "Видеостудия 2V" "address" => string(0) "" "phone" => string(15) "8-921-375-33-16" "phone2" => string(0) "" "phone3" => string(0) "" "email" => string(15) "info@video2v.ru" "worktime" => string(1) "-" "text1" => string(0) "" "text2" => string(0) "" "text3" => string(0) "" "use_captcha" => string(1) "0" "vk" => string(24) "https://vk.com/vstudio2v" "fb" => string(0) "" "tw" => string(0) "" "yt" => string(56) "https://www.youtube.com/channel/UCsxvZwAkmUdHbZw50GF3JXg" "poll_head" => string(0) "" "poll" => string(210) "<!-- Put this div tag to the place, where the Poll block will be --> <div id="vk_poll"></div> <script type="text/javascript"> VK …" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "info" protected _object_plural => string(5) "infos" protected _table_name => string(5) "infos" protected _table_columns => array(18) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "address" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "address" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "phone" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone2" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "phone2" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone3" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "phone3" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "email" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "email" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "worktime" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "worktime" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text1" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text1" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text2" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text2" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text3" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text3" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "use_captcha" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "use_captcha" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "vk" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "vk" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "fb" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "fb" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tw" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "tw" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "yt" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "yt" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "poll_head" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "poll_head" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "poll" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "poll" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"content" => string(0) "" "styles" => array(1) ( 0 => string(4) "main" ) "scripts" => string(0) "" "fpr" => array(0) ) }{ protected _connection_id => string(40) "68de8b4e3001fb3d49cb1f0eaa71dd1644e6782c" protected _identifier => string(1) "`" public last_query => string(85) "SELECT * FROM ss_products WHERE sale_type in(2,3) and article='7iPBcty0hHo' LIMIT 1 " 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(9) "video2v_1" "persistent" => bool FALSE ) "table_prefix" => string(3) "ss_" "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(4) "info" }{ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(18) ( "id" => string(1) "1" "name" => string(25) "Видеостудия 2V" "address" => string(0) "" "phone" => string(15) "8-921-375-33-16" "phone2" => string(0) "" "phone3" => string(0) "" "email" => string(15) "info@video2v.ru" "worktime" => string(1) "-" "text1" => string(0) "" "text2" => string(0) "" "text3" => string(0) "" "use_captcha" => string(1) "0" "vk" => string(24) "https://vk.com/vstudio2v" "fb" => string(0) "" "tw" => string(0) "" "yt" => string(56) "https://www.youtube.com/channel/UCsxvZwAkmUdHbZw50GF3JXg" "poll_head" => string(0) "" "poll" => string(210) "<!-- Put this div tag to the place, where the Poll block will be --> <div id="vk_poll"></div> <script type="text/javascript"> VK …" ) protected _changed => array(0) protected _original_values => array(18) ( "id" => string(1) "1" "name" => string(25) "Видеостудия 2V" "address" => string(0) "" "phone" => string(15) "8-921-375-33-16" "phone2" => string(0) "" "phone3" => string(0) "" "email" => string(15) "info@video2v.ru" "worktime" => string(1) "-" "text1" => string(0) "" "text2" => string(0) "" "text3" => string(0) "" "use_captcha" => string(1) "0" "vk" => string(24) "https://vk.com/vstudio2v" "fb" => string(0) "" "tw" => string(0) "" "yt" => string(56) "https://www.youtube.com/channel/UCsxvZwAkmUdHbZw50GF3JXg" "poll_head" => string(0) "" "poll" => string(210) "<!-- Put this div tag to the place, where the Poll block will be --> <div id="vk_poll"></div> <script type="text/javascript"> VK …" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "info" protected _object_plural => string(5) "infos" protected _table_name => string(5) "infos" protected _table_columns => array(18) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "address" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "address" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "phone" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone2" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "phone2" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone3" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "phone3" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "email" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "email" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "worktime" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "worktime" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text1" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text1" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text2" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text2" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text3" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "text3" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "use_captcha" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "use_captcha" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "vk" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "vk" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "fb" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "fb" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tw" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "tw" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "yt" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "yt" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "poll_head" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "poll_head" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "poll" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "poll" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
public main => integer 1 public root => integer 0 public banners1 => array(1) ( 0 => array(9) ( "id" => string(2) "21" "filename" => string(6) "21.jpg" "category_id" => string(1) "0" "description" => string(0) "" "sort" => string(1) "0" "enabled" => string(1) "1" "name" => string(33) "Скорость Качество" "type" => string(1) "1" "link" => string(26) "http://video2v.ru/produkti" ) ) public banners2 => array(0) public banners3 => array(1) ( 0 => array(9) ( "id" => string(1) "5" "filename" => string(5) "5.jpg" "category_id" => string(1) "0" "description" => string(0) "" "sort" => string(1) "5" "enabled" => string(1) "1" "name" => string(17) "Почему мы" "type" => string(1) "3" "link" => string(33) "http://video2v.ru/sotrudnichestvo" ) ) public banners4 => array(1) ( 0 => array(9) ( "id" => string(2) "12" "filename" => string(6) "12.jpg" "category_id" => string(1) "0" "description" => string(25) "Спортинг-лига" "sort" => string(1) "0" "enabled" => string(1) "1" "name" => string(36) "Партнеры по футболу" "type" => string(1) "4" "link" => string(27) "http://www.sporting-spb.ru/" ) ) public banners5 => array(1) ( 0 => array(9) ( "id" => string(2) "10" "filename" => string(6) "10.jpg" "category_id" => string(1) "0" "description" => string(0) "" "sort" => string(1) "0" "enabled" => string(1) "1" "name" => string(34) "Партнеры по хоккею" "type" => string(1) "5" "link" => string(20) "http://www.spbhl.ru/" ) ) public banners6 => array(0) public tags => object Database_MySQL_Result(7){ protected _connection_id => string(40) "68de8b4e3001fb3d49cb1f0eaa71dd1644e6782c" protected _identifier => string(1) "`" public last_query => string(85) "SELECT * FROM ss_products WHERE sale_type in(2,3) and article='7iPBcty0hHo' LIMIT 1 " 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(9) "video2v_1" "persistent" => bool FALSE ) "table_prefix" => string(3) "ss_" "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(4) "info" }{ protected _internal_row => integer 0 protected _query => string(65) "SELECT `ss_service`.* FROM `ss_services` AS `ss_service` LIMIT 10" protected _result => resource(mysql result) protected _total_rows => integer 10 protected _current_row => integer 0 protected _as_object => string(13) "Model_Service" protected _object_params => NULL }
public auto_render => bool TRUE public request => object Request(21){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "video" => string(11) "7iPBcty0hHo" ) 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)
}{ }
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 FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "video" => string(11) "7iPBcty0hHo" ) 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 FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "video" => string(11) "7iPBcty0hHo" ) 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();