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) "2bcad9ea8c88ac5c6ddeaee1cc4e4b7aa69e2629" ["city_code"] => string(6) "odessa" ["type"] => string(10) "classified" ["page_id"] => string(4) "2784" ["page_name"] => string(35) "Продам шосейник ARDIS" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) } ["token"] => string(40) "2bcad9ea8c88ac5c6ddeaee1cc4e4b7aa69e2629" ["city_code"] => string(6) "odessa" ["type"] => string(10) "classified" ["page_id"] => string(4) "2784" ["page_name"] => string(35) "Продам шосейник ARDIS" ["parent_id"] => string(14) "'+$(this).attr("data_parent_id")+'" ["hide_rating"] => bool(true) ["city"] => &object(stdClass)#191 (30) { ["id"] => int(14) ["name"] => string(12) "Одесса" ["code"] => string(6) "odessa" ["geo_id"] => string(16) "1970750038736898" ["country_code"] => string(2) "ua" ["language"] => string(2) "ru" ["transport_routes_count"] => int(164) ["timezone"] => string(11) "Europe/Kiev" ["actual_extent"] => string(108) "POLYGON((30.512168 46.64901,30.896094 46.656718,30.911286 46.261025,30.530126 46.253422,30.512168 46.64901))" ["road_extent"] => string(108) "POLYGON((30.512168 46.64901,30.896094 46.656718,30.911286 46.261025,30.530126 46.253422,30.512168 46.64901))" ["centroid"] => string(43) "POINT(30.73440007685485 46.474562907739013)" ["geoscount"] => int(91124) ["firmscount"] => int(20176) ["filialscount"] => int(28102) ["rubricscount"] => int(1067) ["settlements"] => array(1) { [0] => string(18) "Ильичёвск" } ["transport"] => bool(true) ["flamp"] => bool(false) ["zoomlevel"] => string(2) "11" ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#192 (3) { ["genitive"] => string(12) "Одессы" ["prepositional"] => string(12) "Одессе" ["accusative"] => string(12) "Одессу" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#193 (2) { ["title"] => string(0) "" ["description"] => string(34) "Одессы, Ильичёвска" } ["timezone_as_offset"] => int(180) ["lon"] => string(17) "30.73440007685485" ["lat"] => string(18) "46.474562907739013" } ["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) "2bcad9ea8c88ac5c6ddeaee1cc4e4b7aa69e2629" ["city_code"] => string(6) "odessa" ["type"] => string(10) "classified" ["page_id"] => string(4) "2784" ["page_name"] => string(35) "Продам шосейник ARDIS" ["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)#318 (2) { ["_file":protected] => string(84) "/var/home/adminpublic_html/application/views/widget/comments/form.php" ["_data":protected] => array(7) { ["token"] => string(40) "2bcad9ea8c88ac5c6ddeaee1cc4e4b7aa69e2629" ["city_code"] => string(6) "odessa" ["type"] => string(10) "classified" ["page_id"] => string(4) "2784" ["page_name"] => string(35) "Продам шосейник ARDIS" ["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(11) { ["limit"] => NULL ["ajax_limit"] => NULL ["total"] => string(1) "0" ["comments"] => object(Database_MySQL_Result)#322 (7) { ["_internal_row":protected] => int(0) ["_query":protected] => string(535) "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` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `city` = 'odessa' AND `page_id` = '2784' 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) "2784" ["page_name"] => string(35) "Продам шосейник ARDIS" ["page_info"] => array(0) { } ["type"] => string(10) "classified" ["errors"] => array(0) { } ["hide_rating"] => bool(false) ["auth"] => 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) "2784" ["city"] => string(6) "odessa" ["title"] => string(35) "Продам шосейник ARDIS" ["content"] => string(523) " Рама Алюминиевая Втулки Novatec Катридж VP-BC73 Переключатель передний Shimano FD-2400, CP, DOWN PULL, Φ34.9mm, INDEX Переключатель задний Shimano RD-2400-SS, 8SP, INDEX, DIRECT ATTACHED Касета SHIMANO: CS-HG50-8,8 ck. 12-25T Тормоза PROMAX, RC-469 Цепь KMC: Z72,1/2х3/32 Педали VP Седло VELO Обод Глубокопрофильный АЛ Шина Kenda Кол-ство скоростей 12 " ["price"] => string(5) "10500" ["category_id"] => string(2) "55" ["created"] => string(19) "2015-03-17 18:03:46" ["email"] => string(19) "[email protected]" ["phone"] => string(10) "0663365590" ["ip"] => string(14) "78.111.185.147" ["enabled"] => string(1) "1" ["secret"] => string(32) "3IwAxHQpNaoclgGBSHTrlp2O4IxmlFZ6" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(12) { ["id"] => string(4) "2784" ["city"] => string(6) "odessa" ["title"] => string(35) "Продам шосейник ARDIS" ["content"] => string(523) " Рама Алюминиевая Втулки Novatec Катридж VP-BC73 Переключатель передний Shimano FD-2400, CP, DOWN PULL, Φ34.9mm, INDEX Переключатель задний Shimano RD-2400-SS, 8SP, INDEX, DIRECT ATTACHED Касета SHIMANO: CS-HG50-8,8 ck. 12-25T Тормоза PROMAX, RC-469 Цепь KMC: Z72,1/2х3/32 Педали VP Седло VELO Обод Глубокопрофильный АЛ Шина Kenda Кол-ство скоростей 12 " ["price"] => string(5) "10500" ["category_id"] => string(2) "55" ["created"] => string(19) "2015-03-17 18:03:46" ["email"] => string(19) "[email protected]" ["phone"] => string(10) "0663365590" ["ip"] => string(14) "78.111.185.147" ["enabled"] => string(1) "1" ["secret"] => string(32) "3IwAxHQpNaoclgGBSHTrlp2O4IxmlFZ6" } ["_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) "55" ["title"] => string(20) "Велосипеды" ["parent_id"] => string(2) "53" ["order"] => string(2) "51" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(4) { ["id"] => string(2) "55" ["title"] => string(20) "Велосипеды" ["parent_id"] => string(2) "53" ["order"] => string(2) "51" } ["_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) "53" ["title"] => string(24) "Хобби и отдых" ["parent_id"] => string(1) "0" ["order"] => string(2) "49" } ["_changed":protected] => array(0) { } ["_original_values":protected] => array(4) { ["id"] => string(2) "53" ["title"] => string(24) "Хобби и отдых" ["parent_id"] => string(1) "0" ["order"] => string(2) "49" } ["_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) "53" ["_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(535) "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` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `city` = 'odessa' AND `page_id` = '2784' 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) "55" ["_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(535) "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` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `city` = 'odessa' AND `page_id` = '2784' 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) "2784" ["_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(535) "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` FROM `comments` AS `comment` WHERE `parent_id` = 0 AND `city` = 'odessa' AND `page_id` = '2784' 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)#191 (30) { ["id"] => int(14) ["name"] => string(12) "Одесса" ["code"] => string(6) "odessa" ["geo_id"] => string(16) "1970750038736898" ["country_code"] => string(2) "ua" ["language"] => string(2) "ru" ["transport_routes_count"] => int(164) ["timezone"] => string(11) "Europe/Kiev" ["actual_extent"] => string(108) "POLYGON((30.512168 46.64901,30.896094 46.656718,30.911286 46.261025,30.530126 46.253422,30.512168 46.64901))" ["road_extent"] => string(108) "POLYGON((30.512168 46.64901,30.896094 46.656718,30.911286 46.261025,30.530126 46.253422,30.512168 46.64901))" ["centroid"] => string(43) "POINT(30.73440007685485 46.474562907739013)" ["geoscount"] => int(91124) ["firmscount"] => int(20176) ["filialscount"] => int(28102) ["rubricscount"] => int(1067) ["settlements"] => array(1) { [0] => string(18) "Ильичёвск" } ["transport"] => bool(true) ["flamp"] => bool(false) ["zoomlevel"] => string(2) "11" ["min_zoomlevel"] => string(1) "9" ["max_zoomlevel"] => string(2) "18" ["grammatical_cases"] => object(stdClass)#192 (3) { ["genitive"] => string(12) "Одессы" ["prepositional"] => string(12) "Одессе" ["accusative"] => string(12) "Одессу" } ["routing"] => bool(true) ["dailyImportAds"] => bool(true) ["metro"] => bool(false) ["is_3d"] => bool(true) ["seo"] => object(stdClass)#193 (2) { ["title"] => string(0) "" ["description"] => string(34) "Одессы, Ильичёвска" } ["timezone_as_offset"] => int(180) ["lon"] => string(17) "30.73440007685485" ["lat"] => string(18) "46.474562907739013" } ["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(1431878249) ["security_token"] => string(40) "2bcad9ea8c88ac5c6ddeaee1cc4e4b7aa69e2629" } ["_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(23) "odessa/classifieds/2784" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(6) "odessa" ["id"] => string(4) "2784" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(6) "odessa" ["classifieds_view"] => string(4) "list" ["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(23) "odessa/classifieds/2784" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(6) "odessa" ["id"] => string(4) "2784" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(6) "odessa" ["classifieds_view"] => string(4) "list" ["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(23) "odessa/classifieds/2784" ["_external":protected] => bool(false) ["_params":protected] => array(2) { ["city"] => string(6) "odessa" ["id"] => string(4) "2784" } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(3) { ["city"] => string(6) "odessa" ["classifieds_view"] => string(4) "list" ["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