APPPATH/classes/Controller/Glasses/Common.php [ 13 ]
8 public function before()
9 {
10 parent::before();
11 $this->siteConfig_ = Kohana::$config->load('site');
12
13 View::set_global('title', $this->siteConfig_['title']);
14 View::set_global('description', $this->siteConfig_['description']);
15
16 $this->template->content = '';
17
18 $this->template->styles = array('ptsansnarrow', 'main', 'main-media', 'glasses/events', 'glasses/main');
-
APPPATH/classes/Controller/Glasses/Common.php [ 13 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(22) "Undefined index: title"
2
string(96) "/home/c/codemuseu2/museumsite/_GIT/public_html/application/classes/Controller/Glasses/Common.php"
3
integer 13
4
array(0)
8 public function before() 9 { 10 parent::before(); 11 $this->siteConfig_ = Kohana::$config->load('site'); 12 13 View::set_global('title', $this->siteConfig_['title']); 14 View::set_global('description', $this->siteConfig_['description']); 15 16 $this->template->content = ''; 17 18 $this->template->styles = array('ptsansnarrow', 'main', 'main-media', 'glasses/events', 'glasses/main');
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Glasses_Common->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Glasses_Page(5)
{ public template => object View(2)
{ protected _file => string(85) "/home/c/codemuseu2/museumsite/_GIT/public_html/application/views/glasses-template.php" protected _data => array(0) }
public siteConfig_ => object Config_Group(12){ public title_en => string(22) "Perm State Art Gallery" public title_ru => string(91) "Пермская государственная художественная галерея" public ticketDomain => string(33) "https://tickets.permartmuseum.com" public description => string(100) "Сайт Пермской государственной художественной галереи" public phone => string(18) "+7 (342) 212-95-24" public uploadsPath => string(7) "uploads" public protocol => string(8) "https://" public css => array(32) ( 0 => string(4) "main" 1 => string(10) "main-media" 2 => string(11) "header-gray" 3 => string(12) "ptsansnarrow" 4 => string(6) "slider" 5 => string(5) "event" 6 => string(6) "events" 7 => string(4) "news" 8 => string(7) "article" 9 => string(3) "new" 10 => string(8) "contacts" 11 => string(4) "page" 12 => string(9) "structure" 13 => string(7) "exhibit" 14 => string(22) "modules/small-exhibits" 15 => string(27) "modules/jquery.fancybox.min" 16 => string(15) "modules/modules" 17 => string(7) "ptserif" 18 => string(3) "404" 19 => string(12) "publications" 20 => string(10) "collection" 21 => string(16) "collection-media" 22 => string(22) "collection-table-media" 23 => string(17) "collection-search" 24 => string(10) "excursions" 25 => string(9) "like-expo" 26 => string(16) "content-editable" 27 => string(18) "modules/show-media" 28 => string(18) "modules/sweetalert" 29 => string(14) "search-results" 30 => string(7) "journal" 31 => string(9) "jquery-ui" ) public js => array(25) ( 0 => string(9) "functions" 1 => string(12) "publications" 2 => string(9) "site-form" 3 => string(6) "slider" 4 => string(9) "timetable" 5 => string(4) "fund" 6 => string(4) "page" 7 => string(14) "drop-down-menu" 8 => string(4) "news" 9 => string(8) "calendar" 10 => string(7) "exhibit" 11 => string(10) "excursions" 12 => string(9) "education" 13 => string(19) "modules/show-module" 14 => string(16) "modules/validate" 15 => string(6) "search" 16 => string(10) "volunteers" 17 => string(8) "feedback" 18 => string(4) "user" 19 => string(4) "expo" 20 => string(7) "journal" 21 => string(8) "journals" 22 => string(8) "sortable" 23 => string(6) "header" 24 => string(16) "virtual-painting" ) public libs => array(5) ( 0 => string(13) "jquery.cookie" 1 => string(8) "i18n.min" 2 => string(19) "jquery.fancybox.min" 3 => string(13) "jquery-ui.min" 4 => string(25) "sweetalert/sweetalert.min" ) public libsAuthorization => array(3) ( 0 => string(18) "ckeditor5/ckeditor" 1 => string(25) "ckeditor5/translations/ru" 2 => string(19) "../modules/editable" ) public forms => array(1) ( 0 => string(12) "new-feedback" ) }
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(7) "glasses" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(12) "glasses_page" "action" => string(5) "index" ) protected _route_regex => string(13) "#^glasses$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "Glasses_Page" protected _action => string(5) "index" protected _uri => string(7) "glasses" protected _external => bool FALSE protected _params => array(0) 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(7) "glasses" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(12) "glasses_page" "action" => string(5) "index" ) protected _route_regex => string(13) "#^glasses$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "Glasses_Page" protected _action => string(5) "index" protected _uri => string(7) "glasses" protected _external => bool FALSE protected _params => array(0) 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 [ 993 ] » 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(7) "glasses" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(12) "glasses_page" "action" => string(5) "index" ) protected _route_regex => string(13) "#^glasses$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "Glasses_Page" protected _action => string(5) "index" protected _uri => string(7) "glasses" protected _external => bool FALSE protected _params => array(0) 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) }
}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 121 ] » Kohana_Request->execute()
116 */ 117 118 try 119 { 120 echo Request::factory(TRUE, array(), FALSE) 121 ->execute() 122 ->send_headers(TRUE) 123 ->body(); 124 } 125 catch (Error $e) // php7 Throwable 126 {