MODPATH/gallery/classes/Controller/Gallery.php [ 174 ]
169
170 }
171 catch (Exception $e)
172 {
173 // přesměrování stránky
174 $this->redirect($data["gallery"]["url"]."/galerie/1");
175 }
176 }
177 }
-
MODPATH/gallery/classes/Controller/Gallery.php [ 174 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(24) "Undefined index: gallery"
2
string(76) "/var/www/supermista.cz.www/modules7.4/gallery/classes/Controller/Gallery.php"
3
integer 174
4
array(8) ( "object_id" => string(4) "1110" "data" => array(4) ( "page" => string(1) "1" "category" => string(6) "clanek" "article" => array(39) ( "id" => string(2) "75" "object_id" => string(4) "1110" "category_id" => string(3) "690" "theme_object_id" => NULL "theme_name" => NULL "theme_url" => NULL "subtheme_name" => NULL "content_type" => string(4) "html" "name" => string(18) "Průvodce Mombasou" "perex" => string(183) "Povedený videoprůvodce druhým největším keňským městem - Mombasou. Máte i Vy zkušenosti s cestováním v této africké zemi ? Těším …" "title" => string(0) "" "description" => string(0) "" "keywords" => array(0) "url" => string(29) "clanek-1110-pruvodce-mombasou" "date_published" => string(10) "1373407170" "visible_author" => string(10) "Redakce CP" "rough_content" => string(42) "<p>{"type":"ytvideo","code":"\/watch"}</p>" "prepend_content" => string(0) "" "append_content" => string(0) "" "latitude" => string(7) "1.00000" "longitude" => string(8) "38.00000" "is_hero" => string(1) "0" "is_pr" => string(1) "0" "is_video" => string(1) "0" "was_signalled" => string(1) "0" "was_changed" => string(1) "1" "active" => string(1) "Y" "401_redirect_url" => NULL "filename" => NULL "filepath" => NULL "filetype" => NULL "orig_filename" => NULL "file_title" => NULL "file_source" => NULL "category_name" => string(5) "Keňa" "category_url" => string(19) "/kategorie-690-kena" "filesrc" => NULL "relative_title_img_path" => NULL "relative_title_img_name" => NULL ) "images" => NULL ) "view_ads_mobil" => bool FALSE "view_ads_desktop" => bool TRUE "session" => object Session_Native(5)
{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(1) ( "gallery-1110" => integer 1 ) protected _destroyed => bool FALSE }
"click_number" => integer 1 "ads_position_desktop" => array(7) ( 0 => integer 1 1 => integer 4 2 => integer 7 3 => integer 10 4 => integer 13 5 => integer 16 6 => integer 19 ) "e" => object Exception(7){ protected message => string(36) "Neexistující galerie nebo obrázek" private string => string(0) "" protected code => integer 0 protected file => string(76) "/var/www/supermista.cz.www/modules7.4/gallery/classes/Controller/Gallery.php" protected line => integer 134 private trace => array(6) ( 0 => array(6) ( "file" => string(66) "/var/www/supermista.cz.www/system7.4/classes/Kohana/Controller.php" "line" => integer 84 "function" => string(13) "action_detail" "class" => string(18) "Controller_Gallery" "type" => string(2) "->" "args" => array(0) ) 1 => array(4) ( "function" => string(7) "execute" "class" => string(17) "Kohana_Controller" "type" => string(2) "->" "args" => array(0) ) 2 => array(6) ( "file" => string(79) "/var/www/supermista.cz.www/system7.4/classes/Kohana/Request/Client/Internal.php" "line" => integer 94 "function" => string(6) "invoke" "class" => string(16) "ReflectionMethod" "type" => string(2) "->" "args" => array(1) ( 0 => object Controller_Gallery(5)
){ public template => object View(2)
) ) 3 => array(6) ( "file" => string(70) "/var/www/supermista.cz.www/system7.4/classes/Kohana/Request/Client.php" "line" => integer 114 "function" => string(15) "execute_request" "class" => string(30) "Kohana_Request_Client_Internal" "type" => string(2) "->" "args" => array(2) ( 0 => object Request(19){ protected _file => string(65) "/var/www/supermista.cz.www/application/views/template-gallery.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(15) "Super místa.cz" "_page_keywords" => NULL "_page_descript" => string(37) "Informace o místech z celého světa" "_page_image" => string(0) "" "_og_page_type" => NULL "_og_site_name" => string(15) "Super místa.cz" "fb_app_id" => string(16) "2259871874251009" "_css" => string(0) "" "page_title" => string(0) "" "_canonical_url" => NULL "_follow" => NULL "_json_ld" => NULL "_data_lyer" => NULL "_next_link" => NULL "_prev_link" => NULL "section_class" => NULL "header_leaderboard" => bool FALSE "_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) ( ... ) ) }
"_homepage_hero" => NULL "_hero" => NULL "_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" => 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) { ... } "header_leaderboard" => bool FALSE ) }
"set_seznam_reklamy" => 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(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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" }{ 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)
1 => object Response(5){ protected _filters => array(0) protected _uri => string(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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)
) ) 4 => array(6) ( "file" => string(63) "/var/www/supermista.cz.www/system7.4/classes/Kohana/Request.php" "line" => integer 1000 "function" => string(7) "execute" "class" => string(21) "Kohana_Request_Client" "type" => string(2) "->" "args" => array(1) ( 0 => object Request(19){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ 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)
) ) 5 => array(6) ( "file" => string(43) "/var/www/supermista.cz.www/public/index.php" "line" => integer 118 "function" => string(7) "execute" "class" => string(14) "Kohana_Request" "type" => string(2) "->" "args" => array(0) ) ) private previous => NULL }{ protected _filters => array(0) protected _uri => string(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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) }
}169 170 } 171 catch (Exception $e) 172 { 173 // přesměrování stránky 174 $this->redirect($data["gallery"]["url"]."/galerie/1"); 175 } 176 } 177 }
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Gallery->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_Gallery(5)
{ public template => object View(2)
{ protected _file => string(65) "/var/www/supermista.cz.www/application/views/template-gallery.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(15) "Super místa.cz" "_page_keywords" => NULL "_page_descript" => string(37) "Informace o místech z celého světa" "_page_image" => string(0) "" "_og_page_type" => NULL "_og_site_name" => string(15) "Super místa.cz" "fb_app_id" => string(16) "2259871874251009" "_css" => string(0) "" "page_title" => string(0) "" "_canonical_url" => NULL "_follow" => NULL "_json_ld" => NULL "_data_lyer" => NULL "_next_link" => NULL "_prev_link" => NULL "section_class" => NULL "header_leaderboard" => bool FALSE "_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" => NULL "_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" => 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 FALSE ) }{ 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(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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(50) "<category>-<object_id>-<url_clanku>/galerie/<page>" protected _regex => array(3) ( "category" => string(6) "clanek" "object_id" => string(3) "\d+" "page" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(7) "Gallery" "action" => string(6) "detail" ) protected _route_regex => string(96) "#^(?P<category>clanek)-(?P<object_id>\d+)-(?P<url_clanku>[^/.,;?\n]++)/galerie/(?P<page>\d+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Gallery" protected _action => string(6) "detail" protected _uri => string(39) "clanek-1110-pruvodce-mombasou/galerie/1" protected _external => bool FALSE protected _params => array(4) ( "category" => string(6) "clanek" "object_id" => string(4) "1110" "url_clanku" => string(17) "pruvodce-mombasou" "page" => string(1) "1" ) 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 }