APPPATH/classes/Controller/Articles.php [ 87 ]
82 //strom kategorii je v datech clanku
83 if(!empty($data['category_tree']))
84 {
85 foreach($data['category_tree'] as $p)
86 {
87 $pieces['/zeme-'.$p['object_id'].'-'.$p['category_url']] = $p['category_name'];
88 }
89 }
90
91 $pieces[] = $data['name'];
92 $breadcrumbs = Model_Breadcrumbs::generate($pieces);
-
APPPATH/classes/Controller/Articles.php [ 87 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(26) "Undefined index: object_id"
2
string(70) "/var/www/supermista.cz.www/application/classes/Controller/Articles.php"
3
integer 87
4
array(9) ( "id" => string(4) "1082" "article_url" => string(37) "pruvodce-hlavnim-mestem-turkmenistanu" "nocache" => NULL "object_id" => NULL "cache_file_key" => string(23) "obsah-clanku-1082seznam" "ads_cache_key" => string(6) "seznam" "data" => array(34) ( "video" => array(0) "howto" => array(0) "embedded" => array(0) "type" => string(7) "article" "name" => string(41) "Průvodce hlavním městem Turkmenistánu" "perex" => string(171) "Povedený videoprůvodce hlavním městem Turkemistánu - Ašchabádem. Máte i Vy zkušenosti s cestováním po této zemi ? Těšíme se na V …" "url" => string(50) "/clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" "date_social" => string(10) "9. 7. 2013" "date_published" => string(8) "9.7.2013" "ld_date_published" => string(25) "2013-07-09T21:50:08+02:00" "visible_author" => string(10) "Redakce CP" "theme_object_id" => NULL "seo_title" => string(0) "" "seo_description" => string(0) "" "seo_keywords" => string(0) "" "embedded_related" => array(0) "title_image" => NULL "title_image_alt" => NULL "title_image_source" => NULL "title_image_description" => NULL "category_id" => string(1) "0" "category_url" => NULL "category_name" => NULL "object_id" => string(4) "1082" "prepend_content" => string(0) "" "append_content" => string(0) "" "content" => string(42) "<p>{"type":"ytvideo","code":"\/watch"}</p>" "images" => array(0) "ld_images" => array(0) "ld_videos" => array(0) "related" => array(4) ( 0 => array(22) ( "name" => string(27) "Vzpomínka na Azurové okno" "perex" => string(263) "V úterý 7.3.2016 se v ranních hodinách na maltském ostrově Gozo zřítil do moře skalní útvar velmi podobný naší Pravčické bráně z …" "url" => string(38) "/clanek-1602-vzpominka-na-azurove-okno" "id" => string(3) "532" "object_id" => string(4) "1602" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "10.3.2017" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "6404a0ce892e52601843d1fec46ac211.jpg" "filepath" => string(5) "64/04" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2017-03-10 19:52:25" "title_image" => string(83) "https://cdn.supermista.cz/w_1/64/04/thumb/6404a0ce892e52601843d1fec46ac211_0123.jpg" "title_image_alt" => string(0) "" ) 1 => array(22) ( "name" => string(27) "Starobylá Jaffa יָפוֹ" "perex" => string(0) "" "url" => string(29) "/clanek-1573-starobyl-jaffa--" "id" => string(3) "512" "object_id" => string(4) "1573" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "17.7.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "f1978d046debfb24bd3c007252ba9afe.jpg" "filepath" => string(4) "2151" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-07-17 17:03:59" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2151/thumb/f1978d046debfb24bd3c007252ba9afe_0123.jpg" "title_image_alt" => string(0) "" ) 2 => array(22) ( "name" => string(48) "Tel Aviv-Jaffa תֵּל-אָבִיב-יָפוֹ" "perex" => string(0) "" "url" => string(34) "/clanek-1572-tel-aviv-jaffa-------" "id" => string(3) "511" "object_id" => string(4) "1572" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(8) "8.7.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "95761ff96ca52747d7ed46c6d2727466.jpg" "filepath" => string(4) "2150" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(42) "Pobřeží Tel Avivu. Paráda, nemyslíte?" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-07-08 18:30:50" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2150/thumb/95761ff96ca52747d7ed46c6d2727466_0123.jpg" "title_image_alt" => string(42) "Pobřeží Tel Avivu. Paráda, nemyslíte?" ) 3 => array(22) ( "name" => string(58) "Meka naháčů, vesnička Los Cocoteros a zahrada kaktusů" "perex" => string(0) "" "url" => string(60) "/clanek-1563-meka-nah-vesnika-los-cocoteros-a-zahrada-kaktus" "id" => string(3) "507" "object_id" => string(4) "1563" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "19.5.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "687cfe4fba12f6d77e282a1796026a20.jpg" "filepath" => string(4) "2132" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-05-19 19:53:46" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2132/thumb/687cfe4fba12f6d77e282a1796026a20_0123.jpg" "title_image_alt" => string(0) "" ) ) "data_layer" => string(130) "<script type="text/javascript">window.dataLayer = window.dataLayer || [];window.dataLayer.push({"tema":"","podtema":""});</scrip …" "category_tree" => array(1) ( 0 => array(0) ) "authors" => string(0) "" ) "article_authors" => object View(2)
{ protected _file => string(98) "/var/www/supermista.cz.www/modules7.4/primadoma-modules/authors/views/_authors/article_authors.php" protected _data => array(1) ( "authors" => bool FALSE ) }
"p" => array(0) )82 //strom kategorii je v datech clanku 83 if(!empty($data['category_tree'])) 84 { 85 foreach($data['category_tree'] as $p) 86 { 87 $pieces['/zeme-'.$p['object_id'].'-'.$p['category_url']] = $p['category_name']; 88 } 89 } 90 91 $pieces[] = $data['name']; 92 $breadcrumbs = Model_Breadcrumbs::generate($pieces);
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Articles->action_detail()
79 [':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 [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Articles(5)
{ public template => object View(2)
{ protected _file => string(57) "/var/www/supermista.cz.www/application/views/template.php" protected _data => array(12) ( "_header" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(62) "/var/www/supermista.cz.www/application/views/static/header.php" protected _data => array(18) ( "_page_title" => string(18) " | Super místa.cz" "_page_keywords" => string(0) "" "_page_descript" => string(0) "" "_page_image" => NULL "_og_page_type" => string(7) "article" "_og_site_name" => string(15) "Super místa.cz" "fb_app_id" => string(16) "2259871874251009" "_css" => string(0) "" "page_title" => string(0) "" "_canonical_url" => string(71) "https://supermista.cz/clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" "_follow" => string(13) "index, follow" "_json_ld" => NULL "_data_lyer" => NULL "_next_link" => NULL "_prev_link" => NULL "section_class" => NULL "header_leaderboard" => bool TRUE "_seznam_reklama" => bool TRUE ) }
"_navigation" => object View(2){ protected _file => string(66) "/var/www/supermista.cz.www/application/views/static/navigation.php" protected _data => array(6) ( "_form_action" => string(0) "" "_form_query" => string(0) "" "_not_root" => bool FALSE "active" => NULL "query" => NULL "categories" => array(4) ( 0 => array(3) ( "object_id" => string(3) "631" "url" => string(15) "ceska-republika" "name" => string(17) "Česká republika" ) 1 => array(3) ( "object_id" => string(4) "1801" "url" => string(16) "kanarske-ostrovy" "name" => string(18) "Kanárské ostrovy" ) 2 => array(3) ( "object_id" => string(3) "627" "url" => string(8) "kapverdy" "name" => string(8) "Kapverdy" ) 3 => array(3) ( "object_id" => string(3) "748" "url" => string(4) "oman" "name" => string(5) "Omán" ) ) ) }
"_homepage_hero" => NULL "_hero" => object View(2){ protected _file => string(71) "/var/www/supermista.cz.www/application/views/_articles/magazin_hero.php" protected _data => array(1) ( "current_category" => string(1) "0" ) }
"_sidebar" => object View(2){ protected _file => string(63) "/var/www/supermista.cz.www/application/views/static/sidebar.php" protected _data => array(0) }
"_breadcrumbs" => NULL "_slot_view" => object View(2){ protected _file => string(65) "/var/www/supermista.cz.www/application/views/_articles/detail.php" protected _data => array(1) ( "data" => array(34) ( "video" => array(0) "howto" => array(0) "embedded" => array(0) "type" => string(7) "article" "name" => string(41) "Průvodce hlavním městem Turkmenistánu" "perex" => string(171) "Povedený videoprůvodce hlavním městem Turkemistánu - Ašchabádem. Máte i Vy zkušenosti s cestováním po této zemi ? Těšíme se na V …" "url" => string(50) "/clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" "date_social" => string(10) "9. 7. 2013" "date_published" => string(8) "9.7.2013" "ld_date_published" => string(25) "2013-07-09T21:50:08+02:00" "visible_author" => string(10) "Redakce CP" "theme_object_id" => NULL "seo_title" => string(0) "" "seo_description" => string(0) "" "seo_keywords" => string(0) "" "embedded_related" => array(0) "title_image" => NULL "title_image_alt" => NULL "title_image_source" => NULL "title_image_description" => NULL "category_id" => string(1) "0" "category_url" => NULL "category_name" => NULL "object_id" => string(4) "1082" "prepend_content" => string(0) "" "append_content" => string(0) "" "content" => string(42) "<p>{"type":"ytvideo","code":"\/watch"}</p>" "images" => array(0) "ld_images" => array(0) "ld_videos" => array(0) "related" => array(4) ( 0 => array(22) ( "name" => string(27) "Vzpomínka na Azurové okno" "perex" => string(263) "V úterý 7.3.2016 se v ranních hodinách na maltském ostrově Gozo zřítil do moře skalní útvar velmi podobný naší Pravčické bráně z …" "url" => string(38) "/clanek-1602-vzpominka-na-azurove-okno" "id" => string(3) "532" "object_id" => string(4) "1602" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "10.3.2017" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "6404a0ce892e52601843d1fec46ac211.jpg" "filepath" => string(5) "64/04" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2017-03-10 19:52:25" "title_image" => string(83) "https://cdn.supermista.cz/w_1/64/04/thumb/6404a0ce892e52601843d1fec46ac211_0123.jpg" "title_image_alt" => string(0) "" ) 1 => array(22) ( "name" => string(27) "Starobylá Jaffa יָפוֹ" "perex" => string(0) "" "url" => string(29) "/clanek-1573-starobyl-jaffa--" "id" => string(3) "512" "object_id" => string(4) "1573" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "17.7.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "f1978d046debfb24bd3c007252ba9afe.jpg" "filepath" => string(4) "2151" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-07-17 17:03:59" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2151/thumb/f1978d046debfb24bd3c007252ba9afe_0123.jpg" "title_image_alt" => string(0) "" ) 2 => array(22) ( "name" => string(48) "Tel Aviv-Jaffa תֵּל-אָבִיב-יָפוֹ" "perex" => string(0) "" "url" => string(34) "/clanek-1572-tel-aviv-jaffa-------" "id" => string(3) "511" "object_id" => string(4) "1572" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(8) "8.7.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "95761ff96ca52747d7ed46c6d2727466.jpg" "filepath" => string(4) "2150" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(42) "Pobřeží Tel Avivu. Paráda, nemyslíte?" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-07-08 18:30:50" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2150/thumb/95761ff96ca52747d7ed46c6d2727466_0123.jpg" "title_image_alt" => string(42) "Pobřeží Tel Avivu. Paráda, nemyslíte?" ) 3 => array(22) ( "name" => string(58) "Meka naháčů, vesnička Los Cocoteros a zahrada kaktusů" "perex" => string(0) "" "url" => string(60) "/clanek-1563-meka-nah-vesnika-los-cocoteros-a-zahrada-kaktus" "id" => string(3) "507" "object_id" => string(4) "1563" "visible_author" => string(10) "Redakce CP" "category_id" => string(1) "0" "date_published" => string(9) "19.5.2016" "is_pr" => string(1) "0" "is_video" => string(1) "0" "content_type" => string(4) "html" "country_name" => NULL "country_url" => NULL "filename" => string(36) "687cfe4fba12f6d77e282a1796026a20.jpg" "filepath" => string(4) "2132" "filetype" => string(1) "r" "orig_filename" => string(8) "0123.jpg" "file_title" => string(0) "" "file_source" => string(0) "" "date_published_rss" => string(19) "2016-05-19 19:53:46" "title_image" => string(82) "https://cdn.supermista.cz/w_1/2132/thumb/687cfe4fba12f6d77e282a1796026a20_0123.jpg" "title_image_alt" => string(0) "" ) ) "data_layer" => string(130) "<script type="text/javascript">window.dataLayer = window.dataLayer || [];window.dataLayer.push({"tema":"","podtema":""});</scrip …" "category_tree" => array(1) ( 0 => array(0) ) "authors" => string(0) "" ) ) }
"_bottom_hero" => NULL "_footer_boxes" => NULL "_footer_html" => object View(2){ protected _file => string(67) "/var/www/supermista.cz.www/application/views/static/footer_html.php" protected _data => array(5) ( "zp_data" => NULL "ck_data" => NULL "fa_data" => NULL "pn_data" => NULL "_seznam_reklama" => bool TRUE ) }
"_footer" => object View(2){ protected _file => string(62) "/var/www/supermista.cz.www/application/views/static/footer.php" protected _data => array(4) ( "_scripts" => NULL "_is_homepage" => bool FALSE "_saslib" => object View(2)
"set_seznam_reklamy" => bool TRUE ) }{ protected _file => string(63) "/var/www/supermista.cz.www/modules7.4/ads/views/_ads/saslib.php" protected _data => array(3) ( "kw" => string(0) "" "seznam_ads" => bool TRUE "branding" => string(4) "true" ) }
"header_leaderboard" => bool TRUE ) }{ 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(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(49) "clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1082" "article_url" => string(37) "pruvodce-hlavnim-mestem-turkmenistanu" ) 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/1.1" }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/1.1" 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(49) "clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1082" "article_url" => string(37) "pruvodce-hlavnim-mestem-turkmenistanu" ) 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(['_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/1.1" 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(49) "clanek-1082-pruvodce-hlavnim-mestem-turkmenistanu" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1082" "article_url" => string(37) "pruvodce-hlavnim-mestem-turkmenistanu" ) 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 }