APPPATH/views/site/about.php [ 2 ]
1 <? if (I18n::lang() == 'ru') { ?>
2 <div class="go2map"><a href="<?=$mainUrl;?>"><?= __("gotoMain");?></a></div>
3 <? } ?>
4
5 <div id="page-content">
6 <div class="container">
7 <ol class="breadcrumb">
-
APPPATH/views/site/about.php [ 2 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(27) "Undefined variable: mainUrl"
2
string(63) "/home/cityus/tourismportal.net/application/views/site/about.php"
3
integer 2
4
array(4) ( "kohana_view_filename" => string(63) "/home/cityus/tourismportal.net/application/views/site/about.php" "kohana_view_data" => array(0) "title" => string(113) "Tourism Portal - портал Мордовии, сайт Мордовии, чемпионат в Саранске" "description" => string(113) "Tourism Portal - портал Мордовии, сайт Мордовии, чемпионат в Саранске" )
1 <? if (I18n::lang() == 'ru') { ?> 2 <div class="go2map"><a href="<?=$mainUrl;?>"><?= __("gotoMain");?></a></div> 3 <? } ?> 4 5 <div id="page-content"> 6 <div class="container"> 7 <ol class="breadcrumb">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(63) "/home/cityus/tourismportal.net/application/views/site/about.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(63) "/home/cityus/tourismportal.net/application/views/site/about.php"
1
array(0)
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/template.php [ 27 ] » Kohana_View->__toString()
22 <? foreach ($styles as $style) { ?><link rel="stylesheet" href="<?=$style;?>?i=<?=rand();?>"><? } ?> 23 </head> 24 <body class="page-homepage map-google" id="page-top" data-spy="scroll" data-target=".navigation" data-offset="90"> 25 <div class="wrapper"> 26 <?= Widget::load('Header') ?> 27 <?= $content; ?> 28 <?= Widget::load('Footer') ?> 29 </div> 30 31 32 <? if ((Request::$current->controller() == 'Articles')&&(Request::$current->action() == 'item' )) { ?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(61) "/home/cityus/tourismportal.net/application/views/template.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(61) "/home/cityus/tourismportal.net/application/views/template.php"
1
array(3) ( "content" => object View(2)
{ protected _file => string(63) "/home/cityus/tourismportal.net/application/views/site/about.php" protected _data => array(0) }
"styles" => array(13) ( 0 => string(58) "https://fonts.googleapis.com/css?family=Roboto:300,400,700" 1 => string(87) "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?i=574444688" 2 => string(35) "/assets/bootstrap/css/bootstrap.css" 3 => string(36) "/assets/css/bootstrap-select.min.css" 4 => string(33) "/assets/css/jquery.slider.min.css" 5 => string(28) "/assets/css/owl.carousel.css" 6 => string(77) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" 7 => string(30) "/assets/js/leaflet/leaflet.css" 8 => string(61) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.css" 9 => string(69) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.Default.css" 10 => string(39) "/assets/css/leaflet.awesome-markers.css" 11 => string(21) "/assets/css/style.css" 12 => string(26) "/assets/css/colors/red.css" ) "scripts" => array(27) ( 0 => string(30) "/assets/js/jquery-2.1.0.min.js" 1 => string(96) "https://maps.googleapis.com/maps/api/js?key=AIzaSyDOpYF83utKBXj9rzH23Q_ubUxrgn59kAY&sensor=false" 2 => string(38) "/assets/js/jquery-migrate-1.2.1.min.js" 3 => string(37) "/assets/bootstrap/js/bootstrap.min.js" 4 => string(36) "/assets/js/markerwithlabel_packed.js" 5 => string(21) "/assets/js/infobox.js" 6 => string(30) "/assets/js/owl.carousel.min.js" 7 => string(34) "/assets/js/bootstrap-select.min.js" 8 => string(24) "/assets/js/icheck.min.js" 9 => string(35) "/assets/js/imagesloaded.pkgd.min.js" 10 => string(30) "/assets/js/masonry.pkgd.min.js" 11 => string(30) "/assets/js/scrollReveal.min.js" 12 => string(41) "/assets/js/jquery.vanillabox-0.1.5.min.js" 13 => string(30) "/assets/js/retina-1.1.0.min.js" 14 => string(33) "/assets/js/jshashtable-2.1_src.js" 15 => string(18) "/assets/js/tmpl.js" 16 => string(36) "/assets/js/jquery.dependClass-0.1.js" 17 => string(27) "/assets/js/draggable-0.1.js" 18 => string(27) "/assets/js/jquery.slider.js" 19 => string(36) "/assets/js/markerclusterer_packed.js" 20 => string(76) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" 21 => string(29) "/assets/js/leaflet/leaflet.js" 22 => string(68) "/assets/js/Leaflet.markercluster-1.4.1/dist/leaflet.markercluster.js" 23 => string(28) "/assets/js/leaflet-google.js" 24 => string(37) "/assets/js/leaflet.awesome-markers.js" 25 => string(24) "/assets/js/custom-map.js" 26 => string(20) "/assets/js/custom.js" ) )354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_About(4)
{ public template => object View(2)
{ protected _file => string(61) "/home/cityus/tourismportal.net/application/views/template.php" protected _data => array(3) ( "content" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(63) "/home/cityus/tourismportal.net/application/views/site/about.php" protected _data => array(0) }
"styles" => array(13) ( 0 => string(58) "https://fonts.googleapis.com/css?family=Roboto:300,400,700" 1 => string(87) "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?i=574444688" 2 => string(35) "/assets/bootstrap/css/bootstrap.css" 3 => string(36) "/assets/css/bootstrap-select.min.css" 4 => string(33) "/assets/css/jquery.slider.min.css" 5 => string(28) "/assets/css/owl.carousel.css" 6 => string(77) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" 7 => string(30) "/assets/js/leaflet/leaflet.css" 8 => string(61) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.css" 9 => string(69) "/assets/js/Leaflet.markercluster-1.4.1/dist/MarkerCluster.Default.css" 10 => string(39) "/assets/css/leaflet.awesome-markers.css" 11 => string(21) "/assets/css/style.css" 12 => string(26) "/assets/css/colors/red.css" ) "scripts" => array(27) ( 0 => string(30) "/assets/js/jquery-2.1.0.min.js" 1 => string(96) "https://maps.googleapis.com/maps/api/js?key=AIzaSyDOpYF83utKBXj9rzH23Q_ubUxrgn59kAY&sensor=false" 2 => string(38) "/assets/js/jquery-migrate-1.2.1.min.js" 3 => string(37) "/assets/bootstrap/js/bootstrap.min.js" 4 => string(36) "/assets/js/markerwithlabel_packed.js" 5 => string(21) "/assets/js/infobox.js" 6 => string(30) "/assets/js/owl.carousel.min.js" 7 => string(34) "/assets/js/bootstrap-select.min.js" 8 => string(24) "/assets/js/icheck.min.js" 9 => string(35) "/assets/js/imagesloaded.pkgd.min.js" 10 => string(30) "/assets/js/masonry.pkgd.min.js" 11 => string(30) "/assets/js/scrollReveal.min.js" 12 => string(41) "/assets/js/jquery.vanillabox-0.1.5.min.js" 13 => string(30) "/assets/js/retina-1.1.0.min.js" 14 => string(33) "/assets/js/jshashtable-2.1_src.js" 15 => string(18) "/assets/js/tmpl.js" 16 => string(36) "/assets/js/jquery.dependClass-0.1.js" 17 => string(27) "/assets/js/draggable-0.1.js" 18 => string(27) "/assets/js/jquery.slider.js" 19 => string(36) "/assets/js/markerclusterer_packed.js" 20 => string(76) "https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" 21 => string(29) "/assets/js/leaflet/leaflet.js" 22 => string(68) "/assets/js/Leaflet.markercluster-1.4.1/dist/leaflet.markercluster.js" 23 => string(28) "/assets/js/leaflet-google.js" 24 => string(37) "/assets/js/leaflet.awesome-markers.js" 25 => string(24) "/assets/js/custom-map.js" 26 => string(20) "/assets/js/custom.js" ) ) }{ 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(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "About" protected _action => string(5) "index" protected _uri => string(5) "about" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ru" ) 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(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "About" protected _action => string(5) "index" protected _uri => string(5) "about" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ru" ) 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(43) "((<lang>/)(<controller>(/<action>(/<id>))))" protected _regex => array(1) ( "lang" => string(7) "(en|es)" ) protected _defaults => array(3) ( "lang" => string(2) "ru" "controller" => string(7) "Welcome" "action" => string(5) "index" ) protected _route_regex => string(123) "#^(?:(?:(?P<lang>(en|es))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "About" protected _action => string(5) "index" protected _uri => string(5) "about" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ru" ) 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 [ 90 ] » Kohana_Request->execute()
85 /** 86 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 87 * If no source is specified, the URI will be automatically detected. 88 */ 89 echo Request::factory(TRUE, array(), FALSE) 90 ->execute() 91 ->send_headers(TRUE) 92 ->body(); 93 }