APPPATH/classes/offers.php [ 99 ]
94 $cache->set($key, $data, Cache::DEFAULT_EXPIRE);
95 }
96
97 $result = array();
98
99 foreach($data as $row){
100
101 $result[] = $row;
102
103 }
104
-
APPPATH/classes/offers.php [ 99 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(39) "Invalid argument supplied for foreach()"
2
string(76) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/classes/offers.php"
3
integer 99
4
array(8) ( "category" => string(5) "ofisy" "t" => integer 2 "cache" => object Cache_File(2)
{ protected _cache_dir => object RecursiveDirectoryIterator(0)
"key" => string(10) "all_offers" "data" => NULL "host" => string(90) "https://xn----7sbf0aahnq1aem.xn--80aswg/rest/index/?A=LIST_PARAMS&C=ofisy&T=2&id_offset=25" "ch" => unknown type Resource id #101 "result" => array(0) ){ }
protected _config => array(3) ( "driver" => string(4) "file" "cache_dir" => string(63) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/cache" "default_expire" => integer 3600 ) }94 $cache->set($key, $data, Cache::DEFAULT_EXPIRE); 95 } 96 97 $result = array(); 98 99 foreach($data as $row){ 100 101 $result[] = $row; 102 103 } 104
-
APPPATH/views/news/show.php [ 76 ] » Offers->get_all_offers()
71 <div id="slider"> 72 <div class="inner"> 73 <ul> 74 <?php 75 $o = new Offers(); 76 $offers = $o->get_all_offers(); 77 78 if(!empty($offers)) 79 { 80 for($i=0; $i< 6; $i++){ 81
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(77) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/news/show.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(77) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/news/show.php"
1
array(3) ( "title" => string(14) "Новости" "data" => object Model_News(34)
{ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(5) ( "id" => string(3) "137" "pub_date" => string(10) "2015-03-30" "title" => string(145) "Небоскреб «Восток» комплекса «Федерация» в «Москве-Сити» достроят летом 2016-го." "content" => string(2294) "Самое высокое задние Российской Федерации и всей Европы – «Башня Федерация», будет достроено в 2016 году. Об этом в своем недавн …" "publish" => string(1) "1" ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool TRUE protected _saved => bool TRUE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_name => string(4) "news" protected _table_columns => array(5) ( "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) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "pub_date" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "pub_date" "column_default" => string(10) "0000-00-00" "data_type" => string(4) "date" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => string(0) "" "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" ) "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 FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "publish" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "publish" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"subtext" => object Database_MySQL_Result(6){ protected _connection_id => string(40) "78d0b0926dcc23a3756ad40cd98ff994ef7f5bbd" protected _identifier => string(1) "`" public last_query => string(106) "SELECT `settingses`.* FROM `settingses` WHERE `settingses`.`id` = 1 ORDER BY `settingses`.`id` ASC 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(14) "mysql86.1gb.ru" "database" => string(13) "gb_fedtowoffi" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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 _preload_data => array(0) }{ protected _internal_row => integer 0 protected _query => string(876) "SELECT `tree`.`id` AS `tree:id`, `tree`.`lft` AS `tree:lft`, `tree`.`rgt` AS `tree:rgt`, `tree`.`lvl` AS `tree:lvl`, `tree`.`sco …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_Text" }
)338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana::exception_handler($e);
-
APPPATH/views/template2.php [ 47 ] » Kohana_View->__toString()
42 </div> 43 </div> 44 45 <?= $subnav ?> 46 47 <?= $content ?> 48 49 <?= !empty($slider_bottom) ? $slider_bottom : '' ?> 50 51 <!--?=!empty($news_content) ? $news_content : ''?--> 52 <?=$online_form?>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(77) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/template2.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(77) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/template2.php"
1
array(6) ( "header" => object View(2)
{ protected _file => string(74) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/header.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(77) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/news/show.php" protected _data => array(3) ( "title" => string(14) "Новости" "data" => object Model_News(34)
"footer" => object View(2){ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(5) ( "id" => string(3) "137" "pub_date" => string(10) "2015-03-30" "title" => string(145) "Небоскреб «Восток» комплекса «Федерация» в «Москве-Сити» достроят летом 2016-го." "content" => string(2294) "Самое высокое задние Российской Федерации и всей Европы – «Башня Федерация», будет достроено в 2016 году. Об этом в своем недавн …" "publish" => string(1) "1" ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool TRUE protected _saved => bool TRUE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_name => string(4) "news" protected _table_columns => array(5) ( "id" => array(13) ( ... ) "pub_date" => array(10) ( ... ) "title" => array(12) ( ... ) "content" => array(12) ( ... ) "publish" => array(13) ( ... ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"subtext" => object Database_MySQL_Result(6){ protected _connection_id => string(40) "78d0b0926dcc23a3756ad40cd98ff994ef7f5bbd" protected _identifier => string(1) "`" public last_query => string(106) "SELECT `settingses`.* FROM `settingses` WHERE `settingses`.`id` = 1 ORDER BY `settingses`.`id` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( ... ) }
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 _preload_data => array(0) }{ protected _internal_row => integer 0 protected _query => string(876) "SELECT `tree`.`id` AS `tree:id`, `tree`.`lft` AS `tree:lft`, `tree`.`rgt` AS `tree:rgt`, `tree`.`lvl` AS `tree:lvl`, `tree`.`sco …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_Text" }
) }{ protected _file => string(74) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/footer.php" protected _data => array(0) }
"subnav" => object View(2){ protected _file => string(74) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/subnav.php" protected _data => array(0) }
"online_form" => object View(2){ protected _file => string(79) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/online_form.php" protected _data => array(0) }
"slider_top" => object View(2){ protected _file => string(74) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/views/slider.php" protected _data => array(2) ( "data" => object Database_MySQL_Result(6)
){ protected _internal_row => integer 0 protected _query => string(67) "SELECT `trees`.* FROM `trees` WHERE `parent_id` = 64 ORDER BY `lft`" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_tree" }
"counts" => array(1) ( 0 => string(2) "28" ) ) }338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana::exception_handler($e);
-
APPPATH/bootstrap.php [ 178 ] » Kohana_View->__toString()
173 } 174 catch (ErrorException $e){ 175 $request = Request::factory('404')->execute(); 176 } 177 178 echo $request->send_headers()->response; 179 180 }
-
DOCROOT/index.php [ 102 ] » require(arguments)
0
string(71) "/home/virtwww/w_federationto-ru_d1bb66bd/http/application/bootstrap.php"
97 // Load empty core extension 98 require SYSPATH.'classes/kohana'.EXT; 99 } 100 101 // Bootstrap the application 102 require APPPATH.'bootstrap'.EXT;