APPPATH/views/widget/comments/form.php [ 17 ]
12 * @var bool $auth13 */?>14 <? if ( ! isset($errors)) $errors = array() ?>15 <? if ( ! isset($rating) OR ! in_array($rating, array(1, 2, 3, 4, 5))) $rating = 0 ?>16 <?=Form::open(NULL, array('id' => 'comment-form', 'class' => 'wrap well well-sm parent-' . $parent_id))?>17 <? if ( ! $auth): ?>18 <div class="form-group <?=Arr::get($errors, 'username') ? 'has-error' : NULL?>">19 <?=Form::label('form-username', __('Your name'), array('class' => 'control-label'))?>20 <?=Form::input('username', isset($username) ? $username : NULL, array('id' => 'form-username', 'class' => 'form-control'))?>21 <div class="help-block"><?=Arr::get($errors, 'username')?></div>22 </div>23
-
APPPATH/views/widget/comments/form.php [ 17 ] » Kohana_Core::error_handler ( arguments )
0 8 1 Undefined variable: auth 2 /var/home/adminpublic_html/application/views/widget/comments/form.php 3 17 4 array(12) { ["kohana_view_filename"] => string(84) "/var/home/adminpublic_html/application/views/widget/comments/form.php" ["kohana_view_data"] => array(7) { ["token"] => string(40) "7f2c6edae1f6b5cd16aed7885dda4bb5416cc64d" ["city_code"] => string(3) "spb" ["type"] => string(10) "classified" ["page_id"] => string(4) "2512" ["page_name"] => string(86) "Продажа сувенирной продукции от производителя" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) } ["token"] => string(40) "7f2c6edae1f6b5cd16aed7885dda4bb5416cc64d" ["city_code"] => string(3) "spb" ["type"] => string(10) "classified" ["page_id"] => string(4) "2512" ["page_name"] => string(86) "Продажа сувенирной продукции от производителя" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) ["city"] => &object(stdClass)#226 (32) { ["id"] => int(38) ["name"] => string(29) "Санкт-Петербург" ["code"] => string(3) "spb" ["geo_id"] => string(16) "5348449759264768" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(1008) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(109) "POLYGON((29.410888 60.259339,30.98445 60.292561,31.027971 59.567535,29.488251 59.535262,29.410888 60.259339))" ["road_extent"] => string(109) "POLYGON((29.410888 60.259339,30.98445 60.292561,31.027971 59.567535,29.488251 59.535262,29.410888 60.259339))" ["geoscount"] => int(240288) ["firmscount"] => int(98173) ["filialscount"] => int(144718) ["rubricscount"] => int(1195) ["centroid"] => string(26) "POINT(30.283631 59.937577)" ["settlements"] => array(9) { [0] => string(20) "Всеволожск" [1] => string(16) "Отрадное" [2] => string(18) "Сертолово" [3] => string(20) "Никольское" [4] => string(16) "Коммунар" [5] => string(14) "Гатчина" [6] => string(14) "Кировск" [7] => string(24) "Шлиссельбург" [8] => string(10) "Тосно" } ["traffic"] => bool(true) ["transport"] => bool(true) ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#227 (3) { ["genitive"] => string(31) "Санкт-Петербурга" ["prepositional"] => string(31) "Санкт-Петербурге" ["accusative"] => string(29) "Санкт-Петербург" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(true) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#228 (2) { ["title"] => string(0) "" ["description"] => string(109) "Санкт-Петербурга, Всеволжска, Гатчины, Кировска, Николького" } ["has_net_booklet"] => bool(true) ["timezone_as_offset"] => int(180) ["lon"] => string(9) "30.283631" ["lat"] => string(9) "59.937577" } ["errors"] => array(0) { } ["rating"] => int(0) }
12 * @var bool $auth13 */?>14 <? if ( ! isset($errors)) $errors = array() ?>15 <? if ( ! isset($rating) OR ! in_array($rating, array(1, 2, 3, 4, 5))) $rating = 0 ?>16 <?=Form::open(NULL, array('id' => 'comment-form', 'class' => 'wrap well well-sm parent-' . $parent_id))?>17 <? if ( ! $auth): ?>18 <div class="form-group <?=Arr::get($errors, 'username') ? 'has-error' : NULL?>">19 <?=Form::label('form-username', __('Your name'), array('class' => 'control-label'))?>20 <?=Form::input('username', isset($username) ? $username : NULL, array('id' => 'form-username', 'class' => 'form-control'))?>21 <div class="help-block"><?=Arr::get($errors, 'username')?></div>22 </div>23
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/widget/comments/form.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/widget/comments/form.php 1 array(7) { ["token"] => string(40) "7f2c6edae1f6b5cd16aed7885dda4bb5416cc64d" ["city_code"] => string(3) "spb" ["type"] => string(10) "classified" ["page_id"] => string(4) "2512" ["page_name"] => string(86) "Продажа сувенирной продукции от производителя" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) }
343 {344 throw new View_Exception('You must set the file to use within your view before rendering');345 }346 347 // Combine local and global data and capture the output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )
223 */224 public function __toString()225 {226 try227 {228 return $this->render();229 }230 catch (Exception $e)231 {232 /**233 * Display the exception message.234 235
-
{PHP internal call} » Kohana_View->__toString ( )
-
APPPATH/views/widget/classified_comments.php [ 120 ] » str_replace ( arguments )
search replace subject object(View)#326 (2) { ["_file":protected] => string(84) "/var/home/adminpublic_html/application/views/widget/comments/form.php" ["_data":protected] => array(7) { ["token"] => string(40) "7f2c6edae1f6b5cd16aed7885dda4bb5416cc64d" ["city_code"] => string(3) "spb" ["type"] => string(10) "classified" ["page_id"] => string(4) "2512" ["page_name"] => string(86) "Продажа сувенирной продукции от производителя" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) } }
115 'page_id' => $page_id,116 'page_name' => $page_name,117 'parent_id' => ''+$(this).attr("data_parent_id")+'',118 'hide_rating' => TRUE,119 ));120 $form = str_replace("\r\n", "", $form);121 $form = str_replace(''+$(this).attr("data_parent_id")+'', '\'+$(this).attr("data_parent_id")+\'', $form);122 ?>123 124 <? Assets::codes('add_comment', <<<JS125 $('.add_comment').click(function(e){126
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/widget/classified_comments.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/widget/classified_comments.php 1 array(12) { ["limit"] => NULL ["ajax_limit"] => NULL ["total"] => string(1) "0" ["comments"] => object(Database_MySQL_Result)#324 (7) { ["_internal_row":protected] => int(0) ["_query":protected] => string(587) "SELECT `comment`.`id` AS `id`, `comment`.`parent_id` AS `parent_id`, `comment`.`user_id` AS `user_id`, `comment`.`city` AS `city`, `comment`.`page_id` AS `page_id`, `comment`.`page_name` AS `page_name`, `comment`.`type` AS `type`, `comment`.`username` AS `username`, `comment`.`ip` AS `ip`, `comment`.`content` AS `content`, `comment`.`rating` AS `rating`, `comment`.`created` AS `created`, `comment`.`disabled` AS `disabled` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `disabled` = 0 AND `city` = 'spb' AND `page_id` = '2512' AND `type` = 'classified' ORDER BY `created` DESC" ["_result":protected] => resource(19) of type (mysql result) ["_total_rows":protected] => int(0) ["_current_row":protected] => int(0) ["_as_object":protected] => string(13) "Model_Comment" ["_object_params":protected] => NULL } ["page_id"] => string(4) "2512" ["page_name"] => string(86) "Продажа сувенирной продукции от производителя" ["page_info"] => array(0) { } ["type"] => string(10) "classified" ["errors"] => array(0) { } ["hide_rating"] => bool(false) ["auth"] => bool(false) ["email_confirm"] => bool(false) }
343 {344 throw new View_Exception('You must set the file to use within your view before rendering');345 }346 347 // Combine local and global data and capture the output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )
223 */224 public function __toString()225 {226 try227 {228 return $this->render();229 }230 catch (Exception $e)231 {232 /**233 * Display the exception message.234 235
-
APPPATH/views/page/classifieds/view.php [ 116 ] » Kohana_View->__toString ( )
111 'page_id' => $classified->id,112 'page_name' => $classified->title,113 'page_info' => array(),114 ),115 'widget/classified_comments'116 )?>117 118 <?=Widget::show('city_nearby', array('uri' => 'classifieds', 'city_code' => $city->code, 'head' => 'Объявления в ближайших городах:'))?>119 120 <div class="wrap hidden-xs">121 <?=View::factory('block/banner/ya_direct_bottom', array('direct_stat_id' => 1))?>122
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )
0 /var/home/adminpublic_html/application/views/page/classifieds/view.php 56 ob_start();57 58 try59 {60 // Load the view within the current scope61 include $kohana_view_filename;62 }63 catch (Exception $e)64 {65 // Delete the output buffer66 ob_end_clean();67
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )
0 /var/home/adminpublic_html/application/views/page/classifieds/view.php 1 array(1) { ["classified"] => object(Model_Classified)#308 (34) { ["_table_name":protected] => string(11) "classifieds" ["_reload_on_wakeup":protected] => bool(false) ["_belongs_to":protected] => array(1) { ["category"] => array(2) { ["foreign_key"] => string(11) "category_id" ["model"] => string(20) "Classifieds_Category" } } ["_has_many":protected] => array(1) { ["images"] => array(4) { ["foreign_key"] => string(13) "classified_id" ["through"] => NULL ["far_key"] => string(8) "image_id" ["model"] => string(17) "Classifieds_Image" } } ["_has_one":protected] => array(0) { } ["_load_with":protected] => array(0) { } ["_validation":protected] => NULL ["_object":protected] => array(12) { ["id"] => string(4) "2512" ["city"] => string(3) "spb" ["title"] => string(86) "Продажа сувенирной продукции от производителя" ["content"] => string(1693) "Наша компания является производителем эксклюзивной подарочной упаковки и сувенирной продукции. Выполняем любые индивидуальные заказы по вашему дизайну. Мы производим : 1. Корпоративные подарки. 2. Подарки на свадьбу 3. Открытки ручной работы 4. Календари (магнитные , деревянные) 5. Виниловые магниты 6. Объемные наклейки 7. магниты на холодильник 8. Бокалы с гравировкой под алкоголь. 9. Ежедневники 10. канцелярские наборы 11. шкатулки 12. упаковку для бокалов 13. индивидуальные подарки 14. подставки из оргстекла(визитницы, стойки под рекламную продукцию, подставки под меню, карман для печатной продукции) 15. подарки для мужчин/женщин 16. подарочные корины из тросника,лозы. 17. Матрешки, наборы матрешек. 18. Тубы под алкогольную продукцию 19. Флешки в индивидуальном футляре 20. наборы для отдыха на природе , для отдыха в бане. 21. Подарочные ручки в коробках (индивидуальный дизайн) и многое другое. В надежде на дальнейшее сотрудничество " ["price"] => string(5) "20000" ["category_id"] => string(2) "68" ["created"] => string(19) "2015-03-11 18:12:29" ["email"] => string(16) "[email protected]" ["phone"] => string(11) "89123389084" ["ip"] => string(13) "185.44.239.49" ["enabled"] => string(1) "1" ["secret"] => string(32) "63N210cmmPWBf9rD2p1cYzvVPdyy7d45" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(12) { ["id"] => string(4) "2512" ["city"] => string(3) "spb" ["title"] => string(86) "Продажа сувенирной продукции от производителя" ["content"] => string(1693) "Наша компания является производителем эксклюзивной подарочной упаковки и сувенирной продукции. Выполняем любые индивидуальные заказы по вашему дизайну. Мы производим : 1. Корпоративные подарки. 2. Подарки на свадьбу 3. Открытки ручной работы 4. Календари (магнитные , деревянные) 5. Виниловые магниты 6. Объемные наклейки 7. магниты на холодильник 8. Бокалы с гравировкой под алкоголь. 9. Ежедневники 10. канцелярские наборы 11. шкатулки 12. упаковку для бокалов 13. индивидуальные подарки 14. подставки из оргстекла(визитницы, стойки под рекламную продукцию, подставки под меню, карман для печатной продукции) 15. подарки для мужчин/женщин 16. подарочные корины из тросника,лозы. 17. Матрешки, наборы матрешек. 18. Тубы под алкогольную продукцию 19. Флешки в индивидуальном футляре 20. наборы для отдыха на природе , для отдыха в бане. 21. Подарочные ручки в коробках (индивидуальный дизайн) и многое другое. В надежде на дальнейшее сотрудничество " ["price"] => string(5) "20000" ["category_id"] => string(2) "68" ["created"] => string(19) "2015-03-11 18:12:29" ["email"] => string(16) "[email protected]" ["phone"] => string(11) "89123389084" ["ip"] => string(13) "185.44.239.49" ["enabled"] => string(1) "1" ["secret"] => string(32) "63N210cmmPWBf9rD2p1cYzvVPdyy7d45" } ["_related":protected] => array(1) { ["category"] => object(Model_Classifieds_Category)#313 (34) { ["_table_name":protected] => string(22) "classifieds_categories" ["_belongs_to":protected] => array(1) { ["parent"] => array(2) { ["foreign_key"] => string(9) "parent_id" ["model"] => string(20) "Classifieds_Category" } } ["_has_many":protected] => array(1) { ["child"] => array(4) { ["foreign_key"] => string(9) "parent_id" ["through"] => NULL ["far_key"] => string(8) "child_id" ["model"] => string(20) "Classifieds_Category" } } ["_has_one":protected] => array(0) { } ["_load_with":protected] => array(0) { } ["_validation":protected] => NULL ["_object":protected] => array(4) { ["id"] => string(2) "68" ["title"] => string(30) "Часы и украшения" ["parent_id"] => string(2) "64" ["order"] => string(2) "64" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(4) { ["id"] => string(2) "68" ["title"] => string(30) "Часы и украшения" ["parent_id"] => string(2) "64" ["order"] => string(2) "64" } ["_related":protected] => array(1) { ["parent"] => object(Model_Classifieds_Category)#314 (34) { ["_table_name":protected] => string(22) "classifieds_categories" ["_belongs_to":protected] => array(1) { ["parent"] => array(2) { ["foreign_key"] => string(9) "parent_id" ["model"] => string(20) "Classifieds_Category" } } ["_has_many":protected] => array(1) { ["child"] => array(4) { ["foreign_key"] => string(9) "parent_id" ["through"] => NULL ["far_key"] => string(8) "child_id" ["model"] => string(20) "Classifieds_Category" } } ["_has_one":protected] => array(0) { } ["_load_with":protected] => array(0) { } ["_validation":protected] => NULL ["_object":protected] => array(4) { ["id"] => string(2) "64" ["title"] => string(21) "Личные вещи" ["parent_id"] => string(1) "0" ["order"] => string(2) "60" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(4) { ["id"] => string(2) "64" ["title"] => string(21) "Личные вещи" ["parent_id"] => string(1) "0" ["order"] => string(2) "60" } ["_related":protected] => array(0) { } ["_valid":protected] => bool(true) ["_loaded":protected] => bool(true) ["_saved":protected] => bool(false) ["_sorting":protected] => NULL ["_foreign_key_suffix":protected] => string(3) "_id" ["_object_name":protected] => string(20) "classifieds_category" ["_object_plural":protected] => string(22) "classifieds_categories" ["_table_columns":protected] => array(4) { ["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"] => int(1) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(14) "auto_increment" ["key"] => string(3) "PRI" ["privileges"] => string(31) "select,insert,update,references" } ["title"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(5) "title" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(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" } ["parent_id"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(9) "parent_id" ["column_default"] => string(1) "0" ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(3) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["order"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(5) "order" ["column_default"] => string(1) "0" ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(4) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } } ["_updated_column":protected] => NULL ["_created_column":protected] => NULL ["_serialize_columns":protected] => array(0) { } ["_primary_key":protected] => string(2) "id" ["_primary_key_value":protected] => string(2) "64" ["_table_names_plural":protected] => bool(true) ["_reload_on_wakeup":protected] => bool(true) ["_db":protected] => object(Database_MySQL)#311 (6) { ["_connection_id":protected] => string(40) "40f9201434a4ec7ea0e0343411e075e828d47f95" ["_identifier":protected] => string(1) "`" ["last_query"] => string(587) "SELECT `comment`.`id` AS `id`, `comment`.`parent_id` AS `parent_id`, `comment`.`user_id` AS `user_id`, `comment`.`city` AS `city`, `comment`.`page_id` AS `page_id`, `comment`.`page_name` AS `page_name`, `comment`.`type` AS `type`, `comment`.`username` AS `username`, `comment`.`ip` AS `ip`, `comment`.`content` AS `content`, `comment`.`rating` AS `rating`, `comment`.`created` AS `created`, `comment`.`disabled` AS `disabled` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `disabled` = 0 AND `city` = 'spb' AND `page_id` = '2512' AND `type` = 'classified' ORDER BY `created` DESC" ["_instance":protected] => string(7) "default" ["_connection":protected] => resource(8) of type (mysql link) ["_config":protected] => array(6) { ["type"] => string(5) "MySQL" ["connection"] => array(3) { ["hostname"] => string(9) "localhost" ["database"] => string(10) "admin_2gis" ["persistent"] => bool(false) } ["table_prefix"] => string(0) "" ["charset"] => string(4) "utf8" ["caching"] => bool(false) ["profiling"] => bool(true) } } ["_db_group":protected] => NULL ["_db_applied":protected] => array(0) { } ["_db_pending":protected] => array(0) { } ["_db_reset":protected] => bool(true) ["_db_builder":protected] => NULL ["_with_applied":protected] => array(0) { } ["_cast_data":protected] => array(0) { } ["_errors_filename":protected] => string(20) "classifieds_category" } } ["_valid":protected] => bool(true) ["_loaded":protected] => bool(true) ["_saved":protected] => bool(false) ["_sorting":protected] => NULL ["_foreign_key_suffix":protected] => string(3) "_id" ["_object_name":protected] => string(20) "classifieds_category" ["_object_plural":protected] => string(22) "classifieds_categories" ["_table_columns":protected] => array(4) { ["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"] => int(1) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(14) "auto_increment" ["key"] => string(3) "PRI" ["privileges"] => string(31) "select,insert,update,references" } ["title"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(5) "title" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(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" } ["parent_id"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(9) "parent_id" ["column_default"] => string(1) "0" ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(3) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["order"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(5) "order" ["column_default"] => string(1) "0" ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(4) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } } ["_updated_column":protected] => NULL ["_created_column":protected] => NULL ["_serialize_columns":protected] => array(0) { } ["_primary_key":protected] => string(2) "id" ["_primary_key_value":protected] => string(2) "68" ["_table_names_plural":protected] => bool(true) ["_reload_on_wakeup":protected] => bool(true) ["_db":protected] => object(Database_MySQL)#311 (6) { ["_connection_id":protected] => string(40) "40f9201434a4ec7ea0e0343411e075e828d47f95" ["_identifier":protected] => string(1) "`" ["last_query"] => string(587) "SELECT `comment`.`id` AS `id`, `comment`.`parent_id` AS `parent_id`, `comment`.`user_id` AS `user_id`, `comment`.`city` AS `city`, `comment`.`page_id` AS `page_id`, `comment`.`page_name` AS `page_name`, `comment`.`type` AS `type`, `comment`.`username` AS `username`, `comment`.`ip` AS `ip`, `comment`.`content` AS `content`, `comment`.`rating` AS `rating`, `comment`.`created` AS `created`, `comment`.`disabled` AS `disabled` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `disabled` = 0 AND `city` = 'spb' AND `page_id` = '2512' AND `type` = 'classified' ORDER BY `created` DESC" ["_instance":protected] => string(7) "default" ["_connection":protected] => resource(8) of type (mysql link) ["_config":protected] => array(6) { ["type"] => string(5) "MySQL" ["connection"] => array(3) { ["hostname"] => string(9) "localhost" ["database"] => string(10) "admin_2gis" ["persistent"] => bool(false) } ["table_prefix"] => string(0) "" ["charset"] => string(4) "utf8" ["caching"] => bool(false) ["profiling"] => bool(true) } } ["_db_group":protected] => NULL ["_db_applied":protected] => array(0) { } ["_db_pending":protected] => array(0) { } ["_db_reset":protected] => bool(true) ["_db_builder":protected] => NULL ["_with_applied":protected] => array(0) { } ["_cast_data":protected] => array(0) { } ["_errors_filename":protected] => string(20) "classifieds_category" } } ["_valid":protected] => bool(true) ["_loaded":protected] => bool(true) ["_saved":protected] => bool(false) ["_sorting":protected] => NULL ["_foreign_key_suffix":protected] => string(3) "_id" ["_object_name":protected] => string(10) "classified" ["_object_plural":protected] => string(11) "classifieds" ["_table_columns":protected] => array(12) { ["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"] => int(1) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(14) "auto_increment" ["key"] => string(3) "PRI" ["privileges"] => string(31) "select,insert,update,references" } ["city"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(4) "city" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(2) ["character_maximum_length"] => string(3) "255" ["collation_name"] => string(15) "utf8_general_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["title"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(5) "title" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(false) ["ordinal_position"] => int(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" } ["content"] => array(12) { ["type"] => string(6) "string" ["character_maximum_length"] => string(5) "65535" ["column_name"] => string(7) "content" ["column_default"] => NULL ["data_type"] => string(4) "text" ["is_nullable"] => bool(true) ["ordinal_position"] => int(4) ["collation_name"] => string(15) "utf8_general_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["price"] => array(13) { ["type"] => string(3) "int" ["min"] => string(20) "-9223372036854775808" ["max"] => string(19) "9223372036854775807" ["column_name"] => string(5) "price" ["column_default"] => string(1) "0" ["data_type"] => string(6) "bigint" ["is_nullable"] => bool(false) ["ordinal_position"] => int(5) ["display"] => string(2) "20" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["category_id"] => array(13) { ["type"] => string(3) "int" ["min"] => string(11) "-2147483648" ["max"] => string(10) "2147483647" ["column_name"] => string(11) "category_id" ["column_default"] => NULL ["data_type"] => string(3) "int" ["is_nullable"] => bool(false) ["ordinal_position"] => int(6) ["display"] => string(2) "11" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } ["created"] => array(10) { ["type"] => string(6) "string" ["column_name"] => string(7) "created" ["column_default"] => NULL ["data_type"] => string(8) "datetime" ["is_nullable"] => bool(false) ["ordinal_position"] => int(7) ["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(true) ["ordinal_position"] => int(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" } ["phone"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(5) "phone" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(true) ["ordinal_position"] => int(9) ["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" } ["ip"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(2) "ip" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(true) ["ordinal_position"] => int(10) ["character_maximum_length"] => string(2) "15" ["collation_name"] => string(15) "utf8_general_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["enabled"] => array(13) { ["type"] => string(3) "int" ["min"] => string(4) "-128" ["max"] => string(3) "127" ["column_name"] => string(7) "enabled" ["column_default"] => string(1) "1" ["data_type"] => string(7) "tinyint" ["is_nullable"] => bool(false) ["ordinal_position"] => int(11) ["display"] => string(1) "1" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(3) "MUL" ["privileges"] => string(31) "select,insert,update,references" } ["secret"] => array(12) { ["type"] => string(6) "string" ["column_name"] => string(6) "secret" ["column_default"] => NULL ["data_type"] => string(7) "varchar" ["is_nullable"] => bool(true) ["ordinal_position"] => int(12) ["character_maximum_length"] => string(2) "63" ["collation_name"] => string(15) "utf8_general_ci" ["comment"] => string(0) "" ["extra"] => string(0) "" ["key"] => string(0) "" ["privileges"] => string(31) "select,insert,update,references" } } ["_updated_column":protected] => NULL ["_created_column":protected] => NULL ["_serialize_columns":protected] => array(0) { } ["_primary_key":protected] => string(2) "id" ["_primary_key_value":protected] => string(4) "2512" ["_table_names_plural":protected] => bool(true) ["_db":protected] => object(Database_MySQL)#311 (6) { ["_connection_id":protected] => string(40) "40f9201434a4ec7ea0e0343411e075e828d47f95" ["_identifier":protected] => string(1) "`" ["last_query"] => string(587) "SELECT `comment`.`id` AS `id`, `comment`.`parent_id` AS `parent_id`, `comment`.`user_id` AS `user_id`, `comment`.`city` AS `city`, `comment`.`page_id` AS `page_id`, `comment`.`page_name` AS `page_name`, `comment`.`type` AS `type`, `comment`.`username` AS `username`, `comment`.`ip` AS `ip`, `comment`.`content` AS `content`, `comment`.`rating` AS `rating`, `comment`.`created` AS `created`, `comment`.`disabled` AS `disabled` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `disabled` = 0 AND `city` = 'spb' AND `page_id` = '2512' AND `type` = 'classified' ORDER BY `created` DESC" ["_instance":protected] => string(7) "default" ["_connection":protected] => resource(8) of type (mysql link) ["_config":protected] => array(6) { ["type"] => string(5) "MySQL" ["connection"] => array(3) { ["hostname"] => string(9) "localhost" ["database"] => string(10) "admin_2gis" ["persistent"] => bool(false) } ["table_prefix"] => string(0) "" ["charset"] => string(4) "utf8" ["caching"] => bool(false) ["profiling"] => bool(true) } } ["_db_group":protected] => NULL ["_db_applied":protected] => array(0) { } ["_db_pending":protected] => array(0) { } ["_db_reset":protected] => bool(true) ["_db_builder":protected] => NULL ["_with_applied":protected] => array(0) { } ["_cast_data":protected] => array(0) { } ["_errors_filename":protected] => string(10) "classified" } }
343 {344 throw new View_Exception('You must set the file to use within your view before rendering');345 }346 347 // Combine local and global data and capture the output348 return View::capture($this->_file, $this->_data);349 }350 351 } // End View352
-
APPPATH/classes/Controller/Classifieds.php [ 89 ] » Kohana_View->render ( )
84 85 86 // Переменные шаблона87 $this->template->set(array(88 'title' => Seo::factory('classifieds.view.title', array('classified' => $classified->title)),89 'content' => View::factory('page/classifieds/view', $data)->render(),90 ));91 }92 93 94 /**95 96
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Classifieds->action_view ( )
79 array(':uri' => $this->request->uri())80 )->request($this->request);81 }82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response90
-
{PHP internal call} » Kohana_Controller->execute ( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )
0 object(Controller_Classifieds)#47 (6) { ["template"] => object(View)#307 (2) { ["_file":protected] => string(70) "/var/home/adminpublic_html/application/views/layout.php" ["_data":protected] => array(1) { ["head_include"] => NULL } } ["city"] => object(stdClass)#226 (32) { ["id"] => int(38) ["name"] => string(29) "Санкт-Петербург" ["code"] => string(3) "spb" ["geo_id"] => string(16) "5348449759264768" ["country_code"] => string(2) "ru" ["language"] => string(2) "ru" ["transport_routes_count"] => int(1008) ["timezone"] => string(13) "Europe/Moscow" ["actual_extent"] => string(109) "POLYGON((29.410888 60.259339,30.98445 60.292561,31.027971 59.567535,29.488251 59.535262,29.410888 60.259339))" ["road_extent"] => string(109) "POLYGON((29.410888 60.259339,30.98445 60.292561,31.027971 59.567535,29.488251 59.535262,29.410888 60.259339))" ["geoscount"] => int(240288) ["firmscount"] => int(98173) ["filialscount"] => int(144718) ["rubricscount"] => int(1195) ["centroid"] => string(26) "POINT(30.283631 59.937577)" ["settlements"] => array(9) { [0] => string(20) "Всеволожск" [1] => string(16) "Отрадное" [2] => string(18) "Сертолово" [3] => string(20) "Никольское" [4] => string(16) "Коммунар" [5] => string(14) "Гатчина" [6] => string(14) "Кировск" [7] => string(24) "Шлиссельбург" [8] => string(10) "Тосно" } ["traffic"] => bool(true) ["transport"] => bool(true) ["flamp"] => bool(true) ["zoomlevel"] => string(2) "11" ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#227 (3) { ["genitive"] => string(31) "Санкт-Петербурга" ["prepositional"] => string(31) "Санкт-Петербурге" ["accusative"] => string(29) "Санкт-Петербург" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(true) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#228 (2) { ["title"] => string(0) "" ["description"] => string(109) "Санкт-Петербурга, Всеволжска, Гатчины, Кировска, Николького" } ["has_net_booklet"] => bool(true) ["timezone_as_offset"] => int(180) ["lon"] => string(9) "30.283631" ["lat"] => string(9) "59.937577" } ["auto_render"] => bool(true) ["_devel_auth":protected] => object(Auth_File)#306 (3) { ["_users":protected] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } ["_session":protected] => object(Session_Native)#305 (5) { ["_name":protected] => string(7) "session" ["_lifetime":protected] => int(0) ["_encrypted":protected] => bool(false) ["_data":protected] => &array(2) { ["last_active"] => int(1432135242) ["security_token"] => string(40) "7f2c6edae1f6b5cd16aed7885dda4bb5416cc64d" } ["_destroyed":protected] => bool(false) } ["_config":protected] => array(7) { ["driver"] => string(4) "file" ["hash_method"] => string(6) "sha256" ["hash_key"] => string(10) "eqi87mup9q" ["lifetime"] => int(3600) ["session_type"] => string(6) "native" ["session_key"] => string(10) "auth_devel" ["users"] => array(1) { ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096" } } } ["request"] => object(Request)#41 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#25 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(23) "<city>/classifieds/<id>" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(11) "classifieds" ["action"] => string(4) "view" } ["_route_regex":protected] => string(48) "#^(?P<city>[-_a-z]+)/classifieds/(?P<id>\d+)$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#42 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(11) "Classifieds" ["_action":protected] => string(4) "view" ["_uri":protected] => string(20) "spb/classifieds/2512" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(3) "spb" ["id"] => string(4) "2512" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(3) "spb" ["classifieds_view"] => string(7) "gallery" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#43 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } } ["response"] => object(Response)#44 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#45 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => NULL } }
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');103
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )
0 object(Request)#41 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#25 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(23) "<city>/classifieds/<id>" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(11) "classifieds" ["action"] => string(4) "view" } ["_route_regex":protected] => string(48) "#^(?P<city>[-_a-z]+)/classifieds/(?P<id>\d+)$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#42 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(11) "Classifieds" ["_action":protected] => string(4) "view" ["_uri":protected] => string(20) "spb/classifieds/2512" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(3) "spb" ["id"] => string(4) "2512" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(3) "spb" ["classifieds_view"] => string(7) "gallery" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#43 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
1 object(Response)#44 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#45 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => NULL }
109 $orig_response = $response = Response::factory();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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))120
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute ( arguments )
0 object(Request)#41 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.0" ["_secure":protected] => bool(false) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#25 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(23) "<city>/classifieds/<id>" ["_regex":protected] => array(2) { ["city"] => string(8) "[-_a-z]+" ["id"] => string(3) "\d+" } ["_defaults":protected] => array(2) { ["controller"] => string(11) "classifieds" ["action"] => string(4) "view" } ["_route_regex":protected] => string(48) "#^(?P<city>[-_a-z]+)/classifieds/(?P<id>\d+)$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#42 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(11) "Classifieds" ["_action":protected] => string(4) "view" ["_uri":protected] => string(20) "spb/classifieds/2512" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(3) "spb" ["id"] => string(4) "2512" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(3) "spb" ["classifieds_view"] => string(7) "gallery" ["session"] => NULL } ["_client":protected] => object(Request_Client_Internal)#43 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "Authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(986 ':uri' => $this->_uri,987 ));988 }989 990 return $this->_client->execute($this);991 }992 993 /**994 * Returns whether this request is the initial request Kohana received.995 * Can be used to test for sub requests.996 997
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute ( )
113 /**114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].115 * If no source is specified, the URI will be automatically detected.116 */117 echo Request::factory(TRUE, array(), FALSE)118 ->execute()119 ->send_headers(TRUE)120 ->body();121 }122