/var/www/primadoma-modules/cache/classes/Kohana/Cache/File.php [ 483 ]
478 $lifetime = (int) $data->fgets();
479
480 // If we're at the EOF at this point, corrupted!
481 if ($data->eof())
482 {
483 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
484 }
485
486 //close file
487 $data = null;
488
-
/var/www/primadoma-modules/cache/classes/Kohana/Cache/File.php [ 143 ] » Kohana_Cache_File->_is_expired(arguments)
0
object SplFileInfo(0)
{ }
138 return $default; 139 } 140 else 141 { 142 // Test the expiry 143 if ($this->_is_expired($file)) 144 { 145 // Delete the file 146 $this->_delete_file($file, FALSE, TRUE); 147 return $default; 148 }
-
/var/www/primadoma-modules/latestcontent/classes/Model/Latestcontent.php [ 13 ] » Kohana_Cache_File->get(arguments)
0
string(17) "remote_articles_1"
8 /** 9 * popis funkce 10 **/ 11 public static function get_latest($website_id=null, $limit=6) 12 { 13 $ret = Cache::instance()->get("remote_articles_".$website_id); 14 15 if(empty($data)) 16 { 17 $res = DB::Select("name","url","title_image_url")->from("remote_articles")->where("website_id","=",$website_id)->order_by("id","DESC")->limit($limit)->execute()->as_array(); 18
-
APPPATH/classes/Controller/Theme.php [ 118 ] » Model_Latestcontent::get_latest(arguments)
0
integer 1
1
integer 6
113 if(class_exists("Model_Latestcontent")) 114 { 115 $lc_view = new View('_latestcontent/article_list'); 116 $lc_view->_seznam_reklama = $this->template->set_seznam_reklamy; 117 $lc_view->zp_data = Model_Latestcontent::get_latest(10,6); //10 - ID webu, 6-limit 118 $lc_view->ck_data = Model_Latestcontent::get_latest(1,6); //1 - ID webu, 6-limit 119 $lc_view->fa_data = Model_Latestcontent::get_latest(9,6); //9 - ID webu, 6-limit 120 $lc_view->pn_data = Model_Latestcontent::get_latest(5,6); //5 - ID webu, 6-limit 121 $this->template->_footer_html->latestcontent = (string)$lc_view; 122 } 123
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Theme->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 [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Articles(5)
{ public template => object View(2)
{ protected _file => string(66) "/var/www/zahradkarskaporadna.cz.www/application/views/template.php" protected _data => array(11) ( "_header" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(71) "/var/www/zahradkarskaporadna.cz.www/application/views/static/header.php" protected _data => array(18) ( "_page_title" => string(24) "Zahrádkářská poradna" "_page_keywords" => NULL "_page_descript" => string(159) "Zahrádkářská poradna přináší rady spojené s technikou, stavbami, přípravky, pěstováním i údržbou celé zahrady. Poradíme vám snad …" "_page_image" => string(77) "https://zahradkarskaporadna.cz/theme/assets/img/grafika-webu-zahr-poradna.jpg" "_og_page_type" => NULL "_og_site_name" => string(24) "Zahrádkářská poradna" "fb_app_id" => string(16) "2982628721749160" "_css" => string(0) "" "_meta" => string(0) "" "page_title" => string(0) "" "_canonical_url" => NULL "_follow" => NULL "_json_ld" => NULL "_data_layer" => NULL "_next_link" => NULL "_prev_link" => NULL "section_class" => NULL "header_leaderboard" => bool TRUE ) }
"_navigation" => object View(2){ protected _file => string(75) "/var/www/zahradkarskaporadna.cz.www/application/views/static/navigation.php" protected _data => array(5) ( "_form_action" => string(0) "" "_form_query" => string(0) "" "_not_root" => bool FALSE "active" => NULL "query" => NULL ) }
"_homepage_hero" => NULL "_hero" => NULL "_sidebar" => object View(2){ protected _file => string(72) "/var/www/zahradkarskaporadna.cz.www/application/views/static/sidebar.php" protected _data => array(0) }
"_breadcrumbs" => NULL "_slot_view" => string(0) "" "_footer_boxes" => NULL "_footer_html" => object View(2){ protected _file => string(76) "/var/www/zahradkarskaporadna.cz.www/application/views/static/footer_html.php" protected _data => array(1) ( "latestcontent" => string(0) "" ) }
"_footer" => object View(2){ protected _file => string(71) "/var/www/zahradkarskaporadna.cz.www/application/views/static/footer.php" protected _data => array(2) ( "_scripts" => NULL "_is_homepage" => bool FALSE ) }
"set_seznam_reklamy" => bool FALSE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(104) "clanek-298339-jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "298339" "article_url" => string(90) "jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" ) 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)
public template_dir => string(0) "" }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(104) "clanek-298339-jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "298339" "article_url" => string(90) "jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" ) 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/2.0" }109 $orig_response = $response = Response::factory(['_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 [ 1000 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(104) "clanek-298339-jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "298339" "article_url" => string(90) "jarni-cibuloviny-po-odkvetu-do-kontejneru-nehazejte-pristi-rok-vam-mohou-opet-delat-radost" ) 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) }
}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * 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, [], FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }