APPPATH/classes/Controller/Site/Articles.php [ 89 ]
84 'pagination' => $pages,
85 '_settings' => $_settings,
86 'menu_name' => $men->articles_cat_name,
87
88 ));*/
89 $this->template->site_description = $men->articles_cat_name.' - '.$this->template->site_description;
90 $this->template->site_keywords = $men->articles_cat_name.', '.$this->template->site_keywords;
91 $this->template->title = $men->articles_cat_name;
92 // Вывод в шаблон
93 $this->template->content = array($content);
94 }
-
APPPATH/classes/Controller/Site/Articles.php [ 89 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(23) "Undefined variable: men"
2
string(98) "/home/users/r/reklama072/domains/reklama072.runew/application/classes/Controller/Site/Articles.php"
3
integer 89
4
array(14) ( "_settings" => array(4) ( "articles_admin_count_row_page" => string(2) "30" "articles_cat_admin_count_row_page" => string(2) "10" "menu_admin_count_row_page" => string(2) "30" "pop_window_admin_count_row_page" => string(2) "10" ) "_main_settings" => array(26) ( "main_site_name" => string(139) "Работаем под ключ. Начинаем без предоплаты в рассрочку. Офис в центре Тюмени" "main_site_description" => string(164) "Сайт рекламного агентства Актив в Тюмени. Изготовление наружной рекламы, создание сайтов" "main_site_index_name" => string(48) "Рекламное агентство Актив" "main_site_keywords" => string(455) "Печать визиток, листовок, пластиковых карт, магниты, футболки, бейсболки, кружки, сувениры, вывески, световые короба, таблички, …" "main_site_news_list_count" => string(1) "3" "main_org_name" => string(19) "ООО "Актив"" "main_site_text_header_top" => string(40) "Звоните в любое время:" "main_site_index_text_name" => string(48) "Рекламное агентство Актив" "main_site_info_list_count" => string(1) "2" "main_site_mail_send_from" => string(19) "info1@reklama072.ru" "main_site_mail_send_to" => string(19) "info1@reklama072.ru" "main_site_mail_send_theme" => string(39) "Новый заказ с кнопки -" "main_site_phone_two" => string(8) "56-94-90" "main_site_phone_three" => string(8) "56-94-90" "main_site_phone_four" => string(8) "56-94-90" "main_site_otzivi_count" => string(1) "2" "main_site_address" => string(60) "г. Тюмень, ул. М.Горького 44, офис 204" "main_site_email" => string(18) "info@reklama072.ru" "main_site_icq" => string(9) "362492988" "main_site_metrika" => string(8) "21162706" "main_site_spec_propose_count" => string(1) "1" "main_site_phone_one" => string(8) "56-94-90" "vk_href" => string(23) "https://vk.com/active72" "inst_href" => string(40) "https://www.instagram.com/reklama072.ru/" "you_href" => string(75) "https://www.youtube.com/channel/UC0VB54aA54-GkaWARCR15JA?view_as=subscriber" "site_count_news" => string(2) "10" ) "articles_alias" => string(1) "3" "select" => string(11) "/articles/3" "page" => string(2) "34" "flag" => integer 0 "menu" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 0 protected _query => string(525) "SELECT `menu`.`menu_id` AS `menu_id`, `menu`.`menu_name` AS `menu_name`, `menu`.`menu_alias` AS `menu_alias`, `menu`.`menu_comme …" protected _result => object mysqli_result(5)
"articles_cat" => object Model_Articlescat(34){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(10) "Model_Menu" protected _object_params => NULL }{ protected _table_name => string(12) "articles_cat" protected _primary_key => string(15) "articles_cat_id" protected _db_group => string(7) "default" protected _has_many => array(1) ( "Articles" => array(4) ( "foreign_key" => string(24) "articles_articles_cat_id" "through" => NULL "far_key" => string(10) "article_id" "model" => string(8) "Articles" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "articles_cat_id" => NULL "articles_cat_name" => NULL "articles_cat_comment" => NULL "articles_cat_alias" => NULL "articles_cat_date" => NULL "articles_cat_click" => NULL "articles_cat_basket" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "articlescat" protected _object_plural => string(12) "articlescats" protected _table_columns => array(7) ( "articles_cat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "articles_cat_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" ) "articles_cat_name" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "articles_cat_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_comment" => array(12) ( "type" => string(6) "string" "column_name" => string(20) "articles_cat_comment" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) "articles_cat_alias" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "articles_cat_alias" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_date" => array(10) ( "type" => string(6) "string" "column_name" => string(17) "articles_cat_date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_click" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(18) "articles_cat_click" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "articles_cat_basket" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(19) "articles_cat_basket" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"articles_menu_id" => NULL "col_articles" => integer 0 "pages" => array(6) ( "pages" => string(210) "<ul> <li><a class="arrow" href="/articles/3?page=1"><<</a></li> <li><a class="arrow" href="/articles/3 …" "dblimit" => string(6) "330,10" "start" => integer 330 "pagecount" => float 0 "pageshow" => string(35) "Раздел не заполнен." "pageall" => string(0) "" ) "all_articles" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "bb3bb21b6855f546ac77dcc6a02825cd58276252" protected _identifier => string(1) "`" public last_query => string(1102) "SELECT `articles`.`articles_id` AS `articles_id`, `articles`.`articles_name` AS `articles_name`, `articles`.`articles_h1` AS `ar …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(11) "articlescat" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(15) "reklama072_test" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _internal_row => integer 0 protected _query => string(1102) "SELECT `articles`.`articles_id` AS `articles_id`, `articles`.`articles_name` AS `articles_name`, `articles`.`articles_h1` AS `ar …" protected _result => object mysqli_result(5)
"mas" => string(0) "" "i" => integer 1 ){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(14) "Model_Articles" protected _object_params => NULL }84 'pagination' => $pages, 85 '_settings' => $_settings, 86 'menu_name' => $men->articles_cat_name, 87 88 ));*/ 89 $this->template->site_description = $men->articles_cat_name.' - '.$this->template->site_description; 90 $this->template->site_keywords = $men->articles_cat_name.', '.$this->template->site_keywords; 91 $this->template->title = $men->articles_cat_name; 92 // Вывод в шаблон 93 $this->template->content = array($content); 94 }
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Articles->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Site_Articles(5)
{ public template => object View(2)
{ protected _file => string(79) "/home/users/r/reklama072/domains/reklama072.runew/application/views/v_index.php" protected _data => array(19) ( "site_name" => string(139) "Работаем под ключ. Начинаем без предоплаты в рассрочку. Офис в центре Тюмени" "site_description" => string(164) "Сайт рекламного агентства Актив в Тюмени. Изготовление наружной рекламы, создание сайтов" "site_keywords" => string(455) "Печать визиток, листовок, пластиковых карт, магниты, футболки, бейсболки, кружки, сувениры, вывески, световые короба, таблички, …" "page_title" => string(18) "Материалы" "title" => string(18) "Материалы" "styles" => array(3) ( 0 => string(18) "site/css/index.css" 1 => string(23) "site/css/custom-new.css" 2 => string(32) "site/css/jquery.fancybox.min.css" ) "styles_in_header" => array(2) ( 0 => string(21) "site/css/css-fast.css" 1 => string(18) "site/css/style.css" ) "scripts" => array(7) ( 0 => string(30) "site/js/jquery.fancybox.min.js" 1 => string(16) "site/js/other.js" 2 => string(17) "site/js/cs.min.js" 3 => string(17) "site/js/custom.js" 4 => string(7) "lazy.js" 5 => string(8) "event.js" 6 => string(31) "librarys/jsibox/jsibox_basic.js" ) "scripts_in_header" => array(1) ( 0 => string(17) "site/js/jquery.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "_main_settings" => array(26) ( "main_site_name" => string(139) "Работаем под ключ. Начинаем без предоплаты в рассрочку. Офис в центре Тюмени" "main_site_description" => string(164) "Сайт рекламного агентства Актив в Тюмени. Изготовление наружной рекламы, создание сайтов" "main_site_index_name" => string(48) "Рекламное агентство Актив" "main_site_keywords" => string(455) "Печать визиток, листовок, пластиковых карт, магниты, футболки, бейсболки, кружки, сувениры, вывески, световые короба, таблички, …" "main_site_news_list_count" => string(1) "3" "main_org_name" => string(19) "ООО "Актив"" "main_site_text_header_top" => string(40) "Звоните в любое время:" "main_site_index_text_name" => string(48) "Рекламное агентство Актив" "main_site_info_list_count" => string(1) "2" "main_site_mail_send_from" => string(19) "info1@reklama072.ru" "main_site_mail_send_to" => string(19) "info1@reklama072.ru" "main_site_mail_send_theme" => string(39) "Новый заказ с кнопки -" "main_site_phone_two" => string(8) "56-94-90" "main_site_phone_three" => string(8) "56-94-90" "main_site_phone_four" => string(8) "56-94-90" "main_site_otzivi_count" => string(1) "2" "main_site_address" => string(60) "г. Тюмень, ул. М.Горького 44, офис 204" "main_site_email" => string(18) "info@reklama072.ru" "main_site_icq" => string(9) "362492988" "main_site_metrika" => string(8) "21162706" "main_site_spec_propose_count" => string(1) "1" "main_site_phone_one" => string(8) "56-94-90" "vk_href" => string(23) "https://vk.com/active72" "inst_href" => string(40) "https://www.instagram.com/reklama072.ru/" "you_href" => string(75) "https://www.youtube.com/channel/UC0VB54aA54-GkaWARCR15JA?view_as=subscriber" "site_count_news" => string(2) "10" ) "top_menu" => object Response(5)
protected session => object Session_Native(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"mainitems" => object Response(5){ }
protected _body => string(2953) "<ul> <li class="two-level"> <a itemprop="url" href="/article/o-kompanii">О Нас</a> </li> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"topleftmenu" => object Response(5){ }
protected _body => string(86) "<div id="rand"> <p class="randp">Случайные объекты:</p> </div>" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 404 protected _header => object HTTP_Header(0)
"news" => object Response(5){ }
protected _body => string(1187) "<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta …" protected _cookies => array(0) protected _protocol => NULL }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"otzivi" => object Response(5){ }
protected _body => string(1411) "<a href="/articles/3" class="rightwidgeta">НОВОСТИ</a> <div class="rightwidgetimg"> <img alt="Изготовили стойку, …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"spec_propose" => object Response(5){ }
protected _body => string(1134) "<a href="/articles/6" class="rightwidgeta">ОТЗЫВЫ</a> <a href="/article/otziv-ot-restorana-katso">Отзыв от ресторана Кацо</a …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _status => integer 404 protected _header => object HTTP_Header(0)
) }{ }
protected _body => string(1187) "<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta …" protected _cookies => array(0) protected _protocol => NULL }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(10) "articles/3" protected _external => bool FALSE protected _params => array(2) ( "id" => string(1) "3" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(2) "34" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }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');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(10) "articles/3" protected _external => bool FALSE protected _params => array(2) ( "id" => string(1) "3" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(2) "34" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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 callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(30) "(<controller>(/<id>(/<page>)))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(4) "site" "controller" => string(5) "index" "action" => string(5) "index" "page" => string(1) "1" ) protected _route_regex => string(93) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(8) "Articles" protected _action => string(5) "index" protected _uri => string(10) "articles/3" protected _external => bool FALSE protected _params => array(2) ( "id" => string(1) "3" "page" => string(1) "1" ) protected _get => array(1) ( "page" => string(2) "34" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 102 ] » Kohana_Request->execute()
97 /** 98 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 99 * If no source is specified, the URI will be automatically detected. 100 */ 101 echo Request::factory() 102 ->execute() 103 ->send_headers(TRUE) 104 ->body();