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(96) "/home/users/s/stanislav263/domains/estimed72.ru/application/classes/Controller/Site/Articles.php"
3
integer 89
4
array(14) ( "_settings" => array(2) ( "articles_admin_count_row_page" => string(2) "30" "articles_cat_admin_count_row_page" => string(2) "30" ) "_main_settings" => array(16) ( "main_site_name" => string(7) "Estimed" "main_site_description" => string(35) "Estimed студия красоты" "main_site_keywords" => string(24) "косметология" "main_site_index_text_name" => string(14) "Главная" "site_count_news" => string(3) "100" "main_site_mail_send_from" => string(17) "info@estimed72.ru" "main_site_mail_send_to" => string(24) "estimed_clinic72@mail.ru" "site_items_count_pages" => string(2) "20" "main_site_phone" => string(15) "8-922-003-90-09" "adress-company" => string(75) "г Тюмень, ул. Максима Горького д. 3 корпус 2" "advantage_admin_count_row_page" => string(2) "10" "main_site_photo_count" => string(2) "50" "main_site_photo_cat_count" => string(2) "10" "vk_social" => string(2) "dd" "instagram_social" => string(38) "https://instagram.com/estimed_clinic72" "main_site_mail" => string(24) "estimed_clinic72@mail.ru" ) "articles_alias" => string(2) "dd" "select" => string(12) "/articles/dd" "page" => integer 1 "flag" => integer 0 "menu" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 0 protected _query => string(633) "SELECT `menu`.`menu_id` AS `menu_id`, `menu`.`menu_ymid` AS `menu_ymid`, `menu`.`menu_name` AS `menu_name`, `menu`.`menu_comment …" 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_alias" => NULL "articles_cat_comment" => 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(18) "utf8mb3_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 3 "character_maximum_length" => string(3) "100" "collation_name" => string(18) "utf8mb3_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 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_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(9) "<ul></ul>" "dblimit" => string(5) "0,100" "start" => integer 0 "pagecount" => float 0 "pageshow" => string(35) "Раздел не заполнен." "pageall" => string(0) "" ) "all_articles" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "eec165c44772c671e73ea0cdf5814e3c52ef59c4" protected _identifier => string(1) "`" public last_query => string(948) "SELECT `articles`.`articles_id` AS `articles_id`, `articles`.`articles_name` AS `articles_name`, `articles`.`articles_page` AS ` …" 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(20) "stanislav263_estimed" "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(948) "SELECT `articles`.`articles_id` AS `articles_id`, `articles`.`articles_name` AS `articles_name`, `articles`.`articles_page` AS ` …" 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(77) "/home/users/s/stanislav263/domains/estimed72.ru/application/views/v_index.php" protected _data => array(17) ( "site_name" => string(7) "Estimed" "site_description" => string(35) "Estimed студия красоты" "site_keywords" => string(24) "косметология" "page_title" => string(18) "Материалы" "title" => string(18) "Материалы" "styles" => array(0) "scripts" => array(1) ( 0 => string(31) "librarys/jsibox/jsibox_basic.js" ) "block_left" => NULL "block_center" => NULL "block_right" => NULL "theme" => array(52) ( "contentbackcolor" => string(6) "734fa8" "contentfontcolor" => string(6) "1f1f1f" "headerfontcolot" => string(6) "f3f3f3" "headercall" => string(6) "333333" "headercallfont" => string(6) "d5a738" "headermenu" => string(6) "d5a738" "headermenuhover" => string(6) "ffffff" "headermenufont" => string(6) "db9c1f" "headermenufonthover" => string(6) "333333" "footercolor" => string(6) "292929" "footermenucolor" => string(6) "1c1c1c" "footermenufontcolor" => string(6) "cccccc" "footeraddress" => string(6) "d5a738" "fonpicture" => string(4) "jpeg" "logopicture" => string(3) "png" "sitefont" => string(6) "333333" "bgcolor" => string(6) "f7f7f7" "telcolor" => string(6) "d5a738" "menulineone" => string(6) "1d2124" "menulinetwo" => string(6) "ffffff" "footertelcolor" => string(6) "ffffff" "sliderwidth" => string(6) "ffffff" "butsvsgradtop" => string(6) "ffffff" "butsvsgradbot" => string(6) "bdb131" "butsvsborder" => string(6) "ffffff" "butfont" => string(6) "cf3398" "formgradbot" => string(6) "d5a738" "formgradtop" => string(6) "333999" "refcolor" => string(6) "ffffff" "topline" => string(6) "3e3e3e" "soca" => string(6) "d5a738" "toplinehref" => string(6) "d5a738" "toplinetxt" => string(6) "cfcfcf" "socialnet" => string(1) "1" "vkyes" => string(1) "1" "vkhref" => string(9) "vkontakte" "fbyes" => string(1) "2" "fbhref" => string(2) "fb" "twitteryes" => string(1) "2" "twitterhref" => string(9) "vkontakte" "instagramyes" => string(1) "1" "instagramhref" => string(5) "insta" "whatsappyes" => string(1) "1" "whatsapphref" => string(5) "whats" "ytyes" => string(1) "2" "ythref" => string(6) "youtub" "okyes" => string(1) "1" "okhref" => string(4) "okru" "telyes" => string(1) "2" "telhref" => string(7) "telgram" "viberyes" => string(1) "1" "viberhref" => string(5) "viber" ) "_main_settings" => array(16) ( "main_site_name" => string(7) "Estimed" "main_site_description" => string(35) "Estimed студия красоты" "main_site_keywords" => string(24) "косметология" "main_site_index_text_name" => string(14) "Главная" "site_count_news" => string(3) "100" "main_site_mail_send_from" => string(17) "info@estimed72.ru" "main_site_mail_send_to" => string(24) "estimed_clinic72@mail.ru" "site_items_count_pages" => string(2) "20" "main_site_phone" => string(15) "8-922-003-90-09" "adress-company" => string(75) "г Тюмень, ул. Максима Горького д. 3 корпус 2" "advantage_admin_count_row_page" => string(2) "10" "main_site_photo_count" => string(2) "50" "main_site_photo_cat_count" => string(2) "10" "vk_social" => string(2) "dd" "instagram_social" => string(38) "https://instagram.com/estimed_clinic72" "main_site_mail" => string(24) "estimed_clinic72@mail.ru" ) "controller" => string(8) "Articles" "main_menu" => object Response(5)
protected session => object Session_Native(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"catalog_menu" => object Response(5){ }
protected _body => string(336) " <li><a href="/" ><span>Главная</span></a></li> <li><a href="/catalog" ><span>Услуги</span></a></li> <li><a href="/price" >< …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"slider" => object Response(5){ }
protected _body => string(120) "<ul id="menu"> <li> <a title="Услуги" href="/catalog/uslugi">Услуги</a> </li> </ul> " protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"footer_menu" => object Response(5){ }
protected _body => string(4430) "<div class="slider-sec"> <div class="wrapper"> <div class="route route-left lazyload" data-src="/site/img/chevron. …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) }{ }
protected _body => string(370) "<ul id="footer_menu"> <li> <a href="/" >Главная</a> </li> <li> <a href="/catalog" >Услуги</a> </li> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ 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.1" 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(11) "articles/dd" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "dd" "page" => string(1) "1" ) protected _get => array(0) 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.1" }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.1" 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(11) "articles/dd" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "dd" "page" => string(1) "1" ) protected _get => array(0) 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.1" }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.1" 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(11) "articles/dd" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "dd" "page" => string(1) "1" ) protected _get => array(0) 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 [ 117 ] » Kohana_Request->execute()
112 /** 113 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 114 * If no source is specified, the URI will be automatically detected. 115 */ 116 echo Request::factory(TRUE, array(), FALSE) 117 ->execute() 118 ->send_headers(TRUE) 119 ->body(); 120 }