APPPATH/classes/Controller/Base.php [ 358 ]
353 $distr_br = View::factory($this->distr_branch);
354 $distr_br->pre_set = $db_data;
355 $this->template->content = $distr_br;
356
357 $meta_array = array(
358 'meta_keywords' => 'Навчання, '.$db_data[0]['district_name'].', абітурієнт, ПТНЗ, галузь '.$db_data[0]['br_name'],
359 'meta_desc' => $db_data[0]['district_name'].', професійне навчання в галузі '.$db_data[0]['br_name'],
360 'title' => $db_data[0]['district_name'].', ПТНЗ, що навчають в галузі '.$db_data[0]['br_name'],
361 );
362 $meta_title = View::factory($this->meta_title);
363 $meta_title->pre_set = $meta_array;
-
APPPATH/classes/Controller/Base.php [ 358 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(19) "Undefined offset: 0"
2
string(79) "/home/teren00/profterminal.volyn.ua/www/application/classes/Controller/Base.php"
3
integer 358
4
array(2) ( "db_data" => array(0) "distr_br" => object View(2)
{ protected _file => string(88) "/home/teren00/profterminal.volyn.ua/www/application/views/template/publ_distr_branch.php" protected _data => array(1) ( "pre_set" => array(0) ) }
)353 $distr_br = View::factory($this->distr_branch); 354 $distr_br->pre_set = $db_data; 355 $this->template->content = $distr_br; 356 357 $meta_array = array( 358 'meta_keywords' => 'Навчання, '.$db_data[0]['district_name'].', абітурієнт, ПТНЗ, галузь '.$db_data[0]['br_name'], 359 'meta_desc' => $db_data[0]['district_name'].', професійне навчання в галузі '.$db_data[0]['br_name'], 360 'title' => $db_data[0]['district_name'].', ПТНЗ, що навчають в галузі '.$db_data[0]['br_name'], 361 ); 362 $meta_title = View::factory($this->meta_title); 363 $meta_title->pre_set = $meta_array;
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Base->action_distrbranch()
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_Base(16)
{ public err404 => bool TRUE public template => object View(2)
{ protected _file => string(77) "/home/teren00/profterminal.volyn.ua/www/application/views/v_template_full.php" protected _data => array(23) ( "show_status" => bool FALSE "html_start" => object View(2)
public col_menu => string(31) "template/col_menu_active_option" public hor_menu => string(17) "template/hor_menu" public info_block => string(30) "template/col_region_info_block" public meta_title => string(19) "template/meta_title" public publ_distr => string(22) "template/publ_district" public page_content => string(23) "template/publ_main_page" public college_page => string(26) "template/publ_college_page" public distr_branch => string(26) "template/publ_distr_branch" public proff_content => string(19) "template/publ_proff" public similar_block => string(26) "template/col_similar_proff" public same_prof_other_colleges => string(37) "template/publ_same_proff_coolege_list" public auto_render => bool TRUE public request => object Request(19){ protected _file => string(84) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/1_html.php" protected _data => array(0) }
"meta" => string(0) "" "css" => object View(2){ protected _file => string(83) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/2_css.php" protected _data => array(0) }
"body_start" => object View(2){ protected _file => string(90) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/3_body_start.php" protected _data => array(0) }
"logo" => object View(2){ protected _file => string(90) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/4_logo_block.php" protected _data => array(0) }
"hor_menu" => object View(2){ protected _file => string(79) "/home/teren00/profterminal.volyn.ua/www/application/views/template/hor_menu.php" protected _data => array(1) ( "menu" => array(6) ( 0 => array(3) ( "id" => string(1) "5" "anchor" => string(15) "ВСТУП 2023" "title" => string(122) "Інструкція для користувачів профорієнтаційного терміналу НМЦ ПТО" ) 1 => array(3) ( "id" => string(1) "1" "anchor" => string(30) "Головна cторінка" "title" => string(104) "Профорієнтаційний термінал НМЦ ПТО у Волинській області" ) 2 => array(3) ( "id" => string(1) "4" "anchor" => string(27) "ЗП(ПТ)О області" "title" => string(147) "Довідник закладів професійної (професійно-технічної) освіти Волинської області" ) 3 => array(3) ( "id" => string(1) "7" "anchor" => string(39) "Контактна інформація" "title" => string(75) "Наші контакти. Телефони для консультацій" ) 4 => array(3) ( "id" => string(1) "2" "anchor" => string(23) "Про термінал" "title" => string(93) "Інформація про профорієнтаційний термінал НМЦ ПТО" ) 5 => array(3) ( "id" => string(2) "10" "anchor" => string(41) "Цікава профорієнтація" "title" => string(94) "Профорієнтаційні тести. Сайти та корисні посилання" ) ) ) }
"main_container_start" => object View(2){ protected _file => string(100) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/5_main_container_start.php" protected _data => array(0) }
"main_body_start" => object View(2){ protected _file => string(102) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/6_main_div_id_body_start.php" protected _data => array(0) }
"content_start" => object View(2){ protected _file => string(93) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/7_content_start.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(88) "/home/teren00/profterminal.volyn.ua/www/application/views/template/publ_distr_branch.php" protected _data => array(1) ( "pre_set" => array(0) ) }
"content_end" => object View(2){ protected _file => string(91) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/8_content_end.php" protected _data => array(0) }
"left_col_start" => object View(2){ protected _file => string(94) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/9_left_col_start.php" protected _data => array(0) }
"left_col" => string(2285) "<!-- COLUMN INSTANCE MENU BLOCK --> <div class="moduletable my-col-1"> <h3><span>Райони та міста області</span></h3> <div clas …" "left_col_end" => object View(2){ protected _file => string(93) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/10_left_col_end.php" protected _data => array(0) }
"main_body_end" => object View(2){ protected _file => string(101) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/11_main_div_id_body_end.php" protected _data => array(0) }
"right_col_start" => object View(2){ protected _file => string(96) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/12_right_col_start.php" protected _data => array(0) }
"right_col" => string(0) "" "right_col_end" => object View(2){ protected _file => string(94) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/13_right_col_end.php" protected _data => array(0) }
"main_container_end" => object View(2){ protected _file => string(99) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/14_main_container_end.php" protected _data => array(0) }
"footer" => object View(2){ protected _file => string(87) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/15_footer.php" protected _data => array(0) }
"body_end" => object View(2){ protected _file => string(89) "/home/teren00/profterminal.volyn.ua/www/application/views/template/static/16_body_end.php" protected _data => array(0) }
"horizontal_menu" => string(0) "" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(38) "district-branch/<distr_id>/<branch_id>" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "base" "action" => string(11) "distrbranch" ) protected _route_regex => string(76) "#^district-branch/(?P<distr_id>[^/.,;?\n]++)/(?P<branch_id>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Base" protected _action => string(11) "distrbranch" protected _uri => string(20) "district-branch/19/5" protected _external => bool FALSE protected _params => array(2) ( "distr_id" => string(2) "19" "branch_id" => string(1) "5" ) protected _get => array(1) ( "kohana_uri" => string(20) "district-branch/19/5" ) 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 FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(38) "district-branch/<distr_id>/<branch_id>" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "base" "action" => string(11) "distrbranch" ) protected _route_regex => string(76) "#^district-branch/(?P<distr_id>[^/.,;?\n]++)/(?P<branch_id>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Base" protected _action => string(11) "distrbranch" protected _uri => string(20) "district-branch/19/5" protected _external => bool FALSE protected _params => array(2) ( "distr_id" => string(2) "19" "branch_id" => string(1) "5" ) protected _get => array(1) ( "kohana_uri" => string(20) "district-branch/19/5" ) 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 FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(38) "district-branch/<distr_id>/<branch_id>" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "base" "action" => string(11) "distrbranch" ) protected _route_regex => string(76) "#^district-branch/(?P<distr_id>[^/.,;?\n]++)/(?P<branch_id>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Base" protected _action => string(11) "distrbranch" protected _uri => string(20) "district-branch/19/5" protected _external => bool FALSE protected _params => array(2) ( "distr_id" => string(2) "19" "branch_id" => string(1) "5" ) protected _get => array(1) ( "kohana_uri" => string(20) "district-branch/19/5" ) 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 [ 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 ?> <div style="position: absolute; left: -4168px" id="links"></div> 123 <div style="display:none">