APPPATH/classes/Controller/Static/Blog.php [ 86 ]
81 $post = $this->request->post();82 $name = $this->request->param("post");83 84 View::set_global('pageName', $name);85 86 $blog = self::$modelBlog->getByName($this->lang, $name)[0];87 $content = false;88 $blog['link'] = Route::url('blog-post', array_merge(Request::$current->param(), array('post' => $blog['uri'])));89 90 $this->content = View::factory('blog/post')91 ->bind('blog', $blog)
-
APPPATH/classes/Controller/Static/Blog.php [ 86 ] » Kohana_Core::error_handler( arguments )
0
integer 8
1
string(19) "Undefined offset: 0"
2
string(107) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/classes/Controller/Static/Blog.php"
3
integer 86
4
array(2) ( "post" => array(0) "name" => string(90) "01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" )
81 $post = $this->request->post();82 $name = $this->request->param("post");83 84 View::set_global('pageName', $name);85 86 $blog = self::$modelBlog->getByName($this->lang, $name)[0];87 $content = false;88 $blog['link'] = Route::url('blog-post', array_merge(Request::$current->param(), array('post' => $blog['uri'])));89 90 $this->content = View::factory('blog/post')91 ->bind('blog', $blog)
-
SYSPATH/classes/Kohana/Controller.php [ 85 ] » Controller_Static_Blog->action_post( )
80 array(':uri' => $this->request->uri())81 )->request($this->request);82 }83 84 // Execute the action itself85 $this->{$action}();86 87 // Execute the "after action" method88 $this->after();89 90 // Return the response
-
{PHP internal call} » Kohana_Controller->execute( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )
0
object Controller_Static_Blog(15)
{ public template => object View(2)
{ protected _file => string(96) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/views/layout/layout.php" protected _data => array(4) ( "doc_end" => array(1) ( 0 => object View(2)
public lang => string(2) "pl" public lang_id => string(1) "1" public header => object View(2){ protected _file => string(94) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/views/script/like.php" protected _data => array(0) }
) "seo" => NULL "css" => array(1) ( 0 => string(32) "/public/toastr-master/toastr.css" ) "scripts" => array(2) ( 0 => string(29) "/public/controllerAjax.0.8.js" 1 => string(31) "/public/toastr-master/toastr.js" ) ) }{ protected _file => string(102) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/views/layout/parts/header.php" protected _data => array(0) }
public footer => object View(2){ protected _file => string(102) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/views/layout/parts/footer.php" protected _data => array(0) }
public content => NULL public email => string(0) "" protected doc_end => array(1) ( 0 => object View(2){ protected _file => string(94) "/home/dobrydom.prod.app/dobry-dom.pl/releases/20240327203412/application/views/script/like.php" protected _data => array(0) }
) protected css => array(1) ( 0 => string(32) "/public/toastr-master/toastr.css" ) protected scripts => array(2) ( 0 => string(29) "/public/controllerAjax.0.8.js" 1 => string(31) "/public/toastr-master/toastr.js" ) protected isInsideCatalog => bool FALSE private konjaxIncluded => bool TRUE 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(23) "<lng>/blog/<tax>/<post>" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Static" "controller" => string(4) "Blog" "action" => string(4) "post" "tax" => string(5) "promo" "lng" => string(2) "pl" ) protected _route_regex => string(77) "#^(?P<lng>[^/.,;?\n]++)/blog/(?P<tax>[^/.,;?\n]++)/(?P<post>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Static" protected _controller => string(4) "Blog" protected _action => string(4) "post" protected _uri => string(104) "pl/blog/promo/01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" protected _external => bool FALSE protected _params => array(3) ( "lng" => string(2) "pl" "tax" => string(5) "promo" "post" => string(90) "01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" ) 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" }88 89 // Create a new instance of the controller90 $controller = $class->newInstance($request, $response);91 92 // Run the controller's execute() method93 $response = $class->getMethod('execute')->invoke($controller);94 95 if (!$response instanceof Response) {96 // Controller failed to return a Response.97 throw new Kohana_Exception('Controller failed to return a Response');98 }
-
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(23) "<lng>/blog/<tax>/<post>" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Static" "controller" => string(4) "Blog" "action" => string(4) "post" "tax" => string(5) "promo" "lng" => string(2) "pl" ) protected _route_regex => string(77) "#^(?P<lng>[^/.,;?\n]++)/blog/(?P<tax>[^/.,;?\n]++)/(?P<post>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Static" protected _controller => string(4) "Blog" protected _action => string(4) "post" protected _uri => string(104) "pl/blog/promo/01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" protected _external => bool FALSE protected _params => array(3) ( "lng" => string(2) "pl" "tax" => string(5) "promo" "post" => string(90) "01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" ) 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 callbacks117 foreach ($this->header_callbacks() as $header => $callback) {118 if ($response->headers($header)) {119 $cb_result = call_user_func($callback, $request, $response, $this);
-
SYSPATH/classes/Kohana/Request.php [ 927 ] » 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(23) "<lng>/blog/<tax>/<post>" protected _regex => array(0) protected _defaults => array(5) ( "directory" => string(6) "Static" "controller" => string(4) "Blog" "action" => string(4) "post" "tax" => string(5) "promo" "lng" => string(2) "pl" ) protected _route_regex => string(77) "#^(?P<lng>[^/.,;?\n]++)/blog/(?P<tax>[^/.,;?\n]++)/(?P<post>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Static" protected _controller => string(4) "Blog" protected _action => string(4) "post" protected _uri => string(104) "pl/blog/promo/01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" protected _external => bool FALSE protected _params => array(3) ( "lng" => string(2) "pl" "tax" => string(5) "promo" "post" => string(90) "01-sep-21_dogo-system-oferuje-projektowanie-stron-internetowych-dla-bran%C5%BCy-budowlanej" ) 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) }
}922 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(923 ':uri' => $this->_uri,924 ));925 }926 927 return $this->_client->execute($this);928 }929 930 /**931 * Returns whether this request is the initial request Kohana received.932 * 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 // Debug::pre_dump_die( $response );122 }