MODPATH/_internal/database/classes/Kohana/Database/MySQLi.php [ 163 ]
158 // Benchmark this query for the current instance
159 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);
160 }
161
162 // Execute the query
163 if (($result = $this->_connection->query($sql)) === FALSE)
164 {
165 if (isset($benchmark))
166 {
167 // This benchmark is worthless
168 Profiler::delete($benchmark);
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(58) "mysqli::query(): (08S01/1053): Server shutdown in progress"
2
string(110) "/home/user13/domains/meczenazywo.xyz/public_html/modules/_internal/database/classes/Kohana/Database/MySQLi.php"
3
integer 163
4
array(4) ( "type" => integer 1 "sql" => string(3130) "SELECT `events`.`id` AS `:id`, `events`.`event_cat_id` AS `:event_cat_id`, `events`.`bookmaker_id` AS `:bookmaker_id`, `events`. …" "as_object" => bool FALSE "params" => array(0) )
-
MODPATH/_internal/database/classes/Kohana/Database/MySQLi.php [ 163 ] » mysqli->query(arguments)
0
string(3130) "SELECT `events`.`id` AS `:id`, `events`.`event_cat_id` AS `:event_cat_id`, `events`.`bookmaker_id` AS `:bookmaker_id`, `events`. …"
158 // Benchmark this query for the current instance 159 $benchmark = Profiler::start("Database ({$this->_instance})", $sql); 160 } 161 162 // Execute the query 163 if (($result = $this->_connection->query($sql)) === FALSE) 164 { 165 if (isset($benchmark)) 166 { 167 // This benchmark is worthless 168 Profiler::delete($benchmark);
-
MODPATH/_internal/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)
0
integer 1
1
string(3130) "SELECT `events`.`id` AS `:id`, `events`.`event_cat_id` AS `:event_cat_id`, `events`.`bookmaker_id` AS `:bookmaker_id`, `events`. …"
2
bool FALSE
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/_internal/orm/classes/Kohana/ORM.php [ 1450 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQLi(6)
{ protected _connection_id => string(40) "c975301191c692f18f2d30d4999386c658d39916" protected _identifier => string(1) "`" public last_query => string(1208) "SELECT `placeholders`.`id` AS `:id`, `placeholders`.`mobile` AS `:mobile`, `placeholders`.`name` AS `:name`, `module`.`id` AS `m …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(10) "user13_xyz" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }1445 // Return database iterator casting to this object type 1446 $result = $this->_db_builder->as_object(clone $this)->execute($this->_db); 1447 //$result = $result->_get_parent(NULL); 1448 } else { 1449 // Return database result as assoc 1450 $result = $this->_db_builder->as_assoc()->execute($this->_db); 1451 } 1452 $this->reset(); 1453 1454 return $result; 1455 }
-
MODPATH/_internal/orm/classes/Kohana/ORM.php [ 1253 ] » Kohana_ORM->_load_result(arguments)
0
bool TRUE
1
bool TRUE
1248 $this->with($alias); 1249 } 1250 } 1251 $this->_select_columns(); 1252 $this->_build(Database::SELECT); 1253 $result = $this->_load_result(TRUE, $as_array); 1254 if ($tree) { 1255 $hierarchical = TRUE; 1256 } 1257 if ($as_array === FALSE) { 1258 return $result;
-
MODPATH/sport/classes/Model/Event.php [ 149 ] » Kohana_ORM->find_all(arguments)
0
bool TRUE
144 ->order_by('datestamp', 'DESC') 145 ->event_cat 146 ->sport 147 ->where('plain', '=', $sport) 148 ->limit(1) 149 ->find_all(TRUE); 150 // if (!$orm && stripos($id, '-')) { 151 // $temp = explode('-', $id); 152 // if (count($temp) > 5) { 153 // return; 154 // }
-
MODPATH/sport/classes/Module/Event.php [ 97 ] » Model_Event->tv(arguments)
0
string(11) "pilka-nozna"
1
string(25) "vvv-venlo-twente-enschede"
92 // 'bookmakers' => $books 93 )); 94 } 95 96 protected function _data() { 97 return ORM::factory('event')->tv(Request::current()->param('sport'), Request::current()->param('plain')); 98 } 99 } 100 101
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 58 ] » Module_Event->_data()
53 54 public function data() { 55 if (isset($this->_data)) { 56 return $this->_data; 57 } else { 58 return $this->_data = $this->_data(); 59 } 60 } 61 62 public function render() { 63 if (!$this->view) {
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 48 ] » Kohana_Module->data()
43 $this->_initialize(); 44 } 45 46 protected function _initialize() { 47 $this->view->set(array( 48 'data' => $this->data() 49 )); 50 } 51 52 protected abstract function _data(); 53
-
MODPATH/sport/classes/Module/Event.php [ 8 ] » Kohana_Module->_initialize()
3 defined('SYSPATH') or die('No direct script access.'); 4 5 class Module_Event extends Module { 6 7 protected function _initialize() { 8 parent::_initialize(); 9 10 $data = $this->data(); 11 $title = $highlight = NULL; 12 $comments = TRUE; 13 $text = '';
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 43 ] » Module_Event->_initialize()
38 $this->view->set($init_data); 39 $this->view->_show = TRUE; 40 $this->view->_init_data = $init_data; 41 $this->view->_params = $this->_params; 42 $this->view->folded = isset($_COOKIE['folded_'.$this->name]) && $_COOKIE['folded_'.$this->name] ? 1 : 0; 43 $this->_initialize(); 44 } 45 46 protected function _initialize() { 47 $this->view->set(array( 48 'data' => $this->data()
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 25 ] » Kohana_Module->__construct(arguments)
0
array(21) ( "id" => string(5) "Event" "placeholder_id" => string(1) "3" "active" => string(1) "1" "desktop" => string(1) "1" "mobile" => string(1) "1" "panel" => string(1) "1" "in_site" => string(1) "1" "in_admin" => string(1) "0" "order" => string(1) "1" "cache" => string(1) "0" "cache_user" => string(1) "0" "module_name" => string(5) "Event" "exclude" => string(0) "" "include" => string(40) "[{"controller":"event","action":"view"}]" "params" => string(0) "" "module_id" => string(2) "24" "lang_id" => string(1) "1" "name" => string(19) "Wydarzenie sportowe" "content" => string(0) "" "first" => bool TRUE "h1" => bool TRUE )
20 $value = ucfirst($value); 21 } 22 $module = implode('_', $module); 23 $data['id'] = $data['module_name']; 24 25 return new $module($data); 26 } 27 28 public function __construct($init_data = NULL) { 29 $this->name = strtolower($init_data['module_name']); 30 $this->_init_data = $init_data;
-
APPPATH/classes/Controller/Template.php [ 205 ] » Kohana_Module::factory(arguments)
0
string(12) "Module_Event"
1
array(21) ( "id" => string(5) "Event" "placeholder_id" => string(1) "3" "active" => string(1) "1" "desktop" => string(1) "1" "mobile" => string(1) "1" "panel" => string(1) "1" "in_site" => string(1) "1" "in_admin" => string(1) "0" "order" => string(1) "1" "cache" => string(1) "0" "cache_user" => string(1) "0" "module_name" => string(5) "Event" "exclude" => string(0) "" "include" => string(40) "[{"controller":"event","action":"view"}]" "params" => string(0) "" "module_id" => string(2) "24" "lang_id" => string(1) "1" "name" => string(19) "Wydarzenie sportowe" "content" => string(0) "" "first" => bool TRUE "h1" => bool TRUE )
200 if (strtolower($module['module_name']) !== 'banner') { 201 $first = FALSE; 202 } 203 if (!($cache = Cache::instance()->get($module_name, NULL, (bool) $module['cache_user']))) { 204 if ($module['module_name']) { 205 $cache = Module::factory($module['module_name'], $module); 206 } else { 207 if ($module['panel']) { 208 $cache = Twig::factory('snippets/module.twig', array('title' => $module['name'], 'inc' => $module['content'])); 209 } else { 210 $cache = Twig::factory('_from_string.twig', array('inc' => $module['content']));
-
APPPATH/classes/Controller/Template.php [ 151 ] » Controller_Template->_init()
146 $this->template->placeholders = array(); 147 if (Kohana::$profiling) { 148 $this->template->_show_profiler = TRUE; 149 $this->template->_profiler = View::factory('profiler/stats'); 150 } 151 $this->_init(); 152 } 153 } 154 155 protected function _init() { 156 HTML::add_style($this->_styles);
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Template->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 [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Event(15)
{ protected _title => string(0) "" protected _mod => bool FALSE protected _minify => bool FALSE protected _modules => bool TRUE protected _styles => array(8) ( 0 => string(30) "media/css/font-awesome.min.css" 1 => string(93) "//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,500,700&subset=latin-ext" 2 => string(26) "media/css/nanoscroller.css" 3 => string(37) "media/css/jquery-ui.structure.min.css" 4 => string(41) "media/css/admin/plugins/toastr/toastr.css" 5 => string(59) "media/css/plugins/colorpicker/bootstrap-colorpicker.min.css" 6 => string(20) "media/css/styles.css" 7 => string(20) "media/css/custom.css" ) protected _scripts => array(11) ( 0 => string(18) "media/js/jquery.js" 1 => string(35) "media/js/jquery.nanoscroller.min.js" 2 => string(31) "media/js/jquery-debounce-min.js" 3 => string(26) "media/js/idle-timer.min.js" 4 => string(29) "media/js/bootstrap-plugins.js" 5 => string(21) "media/js/jquery-ui.js" 6 => string(23) "media/js/jquery.cook.js" 7 => string(21) "media/js/jquery.pu.js" 8 => string(43) "media/js/admin/plugins/toastr/toastr.min.js" 9 => string(16) "media/js/init.js" 10 => string(80) "https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit" ) public environment => object Twig_Environment(20)
{ private charset => string(5) "UTF-8" private loader => object Twig_Loader_Theme(1)
public auto_render => bool TRUE public template => object Twig(4){ protected cache => NULL }
private debug => bool TRUE private autoReload => bool TRUE private cache => object Twig_Cache_Filesystem(2){ private directory => string(72) "/home/user13/domains/meczenazywo.xyz/public_html/application/cache/twig/" private options => integer 0 }
private lexer => NULL private parser => NULL private compiler => NULL private baseTemplateClass => string(13) "Twig_Template" private globals => array(0) private resolvedGlobals => NULL private loadedTemplates => NULL private strictVariables => bool FALSE private templateClassPrefix => string(15) "__TwigTemplate_" private originalCache => string(71) "/home/user13/domains/meczenazywo.xyz/public_html/application/cache/twig" private extensionSet => object Twig_ExtensionSet(15){ private extensions => array(7) ( "Twig_Extension_Core" => object Twig_Extension_Core(4)
private runtimeLoaders => array(0) private runtimes => array(0) private optionsHash => string(207) "["Twig_Extension_Core","Twig_Extension_Escaper","Twig_Extension_Optimizer","Kohana_Twig_Extensions","Twig_Extension_Text","Twig_ …" private loading => array(0) }{ private dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) private numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) " " ) private timezone => NULL private escapers => array(0) }
"Twig_Extension_Escaper" => object Twig_Extension_Escaper(1){ private defaultStrategy => bool FALSE }
"Twig_Extension_Optimizer" => object Twig_Extension_Optimizer(1){ private optimizers => integer -1 }
"Kohana_Twig_Extensions" => object Kohana_Twig_Extensions(0){ }
"Twig_Extension_Text" => object Twig_Extension_Text(0){ }
"Twig_Extension_Debug" => object Twig_Extension_Debug(0){ }
"Twig_Extension_StringLoader" => object Twig_Extension_StringLoader(0){ }
) private initialized => bool FALSE private runtimeInitialized => bool FALSE private staging => object Twig_Extension_Staging(5){ private functions => array(0) private filters => array(0) private visitors => array(0) private tokenParsers => array(0) private tests => array(0) }
private parsers => NULL private visitors => NULL private filters => NULL private tests => NULL private functions => NULL private unaryOperators => NULL private binaryOperators => NULL private globals => NULL private functionCallbacks => array(0) private filterCallbacks => array(0) private lastModified => integer 0 }{ protected _file => string(10) "Event/view" protected _extension => string(4) "twig" protected _data => array(9) ( "title" => array(0) "base" => string(1) "/" "path" => string(1) "/" "lang" => string(2) "pl" "_message" => NULL "facebook" => object Config_Group(3)
public auth_required => bool FALSE public secure_actions => bool FALSE protected _ban => bool FALSE public request => object Request(19){ public access_token => string(43) "726652647523388|W5G9FuZ6R8XXNN8ROBM1N4TCYGU" public client_id => string(15) "726652647523388" public client_secret => string(32) "bf53526d6f0aba88c16afad135f27f53" }
"lang_icon" => string(23) "poland5a8ee1d700efd.png" "page" => string(22) "page-event action-view" "placeholders" => array(0) ) protected _environment => object Twig_Environment(20){ private charset => string(5) "UTF-8" private loader => object Twig_Loader_Theme(1)
}{ protected cache => NULL }
private debug => bool TRUE private autoReload => bool TRUE private cache => object Twig_Cache_Filesystem(2){ private directory => string(72) "/home/user13/domains/meczenazywo.xyz/public_html/application/cache/twig/" private options => integer 0 }
private lexer => NULL private parser => NULL private compiler => NULL private baseTemplateClass => string(13) "Twig_Template" private globals => array(0) private resolvedGlobals => NULL private loadedTemplates => NULL private strictVariables => bool FALSE private templateClassPrefix => string(15) "__TwigTemplate_" private originalCache => string(71) "/home/user13/domains/meczenazywo.xyz/public_html/application/cache/twig" private extensionSet => object Twig_ExtensionSet(15){ private extensions => array(7) ( "Twig_Extension_Core" => object Twig_Extension_Core(4)
private runtimeLoaders => array(0) private runtimes => array(0) private optionsHash => string(207) "["Twig_Extension_Core","Twig_Extension_Escaper","Twig_Extension_Optimizer","Kohana_Twig_Extensions","Twig_Extension_Text","Twig_ …" private loading => array(0) }{ private dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) private numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) " " ) private timezone => NULL private escapers => array(0) }
"Twig_Extension_Escaper" => object Twig_Extension_Escaper(1){ private defaultStrategy => bool FALSE }
"Twig_Extension_Optimizer" => object Twig_Extension_Optimizer(1){ private optimizers => integer -1 }
"Kohana_Twig_Extensions" => object Kohana_Twig_Extensions(0){ }
"Twig_Extension_Text" => object Twig_Extension_Text(0){ }
"Twig_Extension_Debug" => object Twig_Extension_Debug(0){ }
"Twig_Extension_StringLoader" => object Twig_Extension_StringLoader(0){ }
) private initialized => bool FALSE private runtimeInitialized => bool FALSE private staging => object Twig_Extension_Staging(5){ private functions => array(0) private filters => array(0) private visitors => array(0) private tokenParsers => array(0) private tests => array(0) }
private parsers => NULL private visitors => NULL private filters => NULL private tests => NULL private functions => NULL private unaryOperators => NULL private binaryOperators => NULL private globals => NULL private functionCallbacks => array(0) private filterCallbacks => array(0) private lastModified => integer 0 }{ 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(9)
public response => object Response(5){ protected _translate => array(2) ( "<trans>" => bool TRUE "tv" => bool TRUE ) protected _uri_source => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex_source => array(5) ( "trans" => string(2) "tv" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _filters => array(0) protected _uri => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex => array(5) ( "trans" => string(7) "na-zywo" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _defaults => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(7) "na-zywo" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) protected _route_regex => string(366) "#^(?P<sport>baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siat …" public _defaults_source => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(2) "tv" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "view" protected _uri => string(48) "pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" protected _external => bool FALSE protected _params => array(5) ( "sport" => string(11) "pilka-nozna" "plain" => string(25) "vvv-venlo-twente-enschede" "date" => string(10) "2019-11-24" "trans" => string(2) "tv" "type" => string(3) "1X2" ) protected _get => array(1) ( "/pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" => string(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 session => object Session_Native(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
}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(9)
{ protected _translate => array(2) ( "<trans>" => bool TRUE "tv" => bool TRUE ) protected _uri_source => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex_source => array(5) ( "trans" => string(2) "tv" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _filters => array(0) protected _uri => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex => array(5) ( "trans" => string(7) "na-zywo" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _defaults => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(7) "na-zywo" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) protected _route_regex => string(366) "#^(?P<sport>baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siat …" public _defaults_source => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(2) "tv" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "view" protected _uri => string(48) "pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" protected _external => bool FALSE protected _params => array(5) ( "sport" => string(11) "pilka-nozna" "plain" => string(25) "vvv-venlo-twente-enschede" "date" => string(10) "2019-11-24" "trans" => string(2) "tv" "type" => string(3) "1X2" ) protected _get => array(1) ( "/pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" => string(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))
-
APPPATH/classes/Request.php [ 144 ] » 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(9)
{ protected _translate => array(2) ( "<trans>" => bool TRUE "tv" => bool TRUE ) protected _uri_source => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex_source => array(5) ( "trans" => string(2) "tv" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _filters => array(0) protected _uri => string(31) "<sport>/<plain>/<date>(/<type>)" protected _regex => array(5) ( "trans" => string(7) "na-zywo" "sport" => string(270) "baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siatkowka|snooke …" "id" => string(8) "[-0-9,]+" "plain" => string(14) "[-a-zA-Z0-9_]+" "type" => string(14) "[-a-zA-Z0-9_]+" ) protected _defaults => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(7) "na-zywo" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) protected _route_regex => string(366) "#^(?P<sport>baseball|boks|esport|formula-1|futbol-amerykanski|hokej|inne|koszykowka|motorowe|pilka-nozna|pilka-reczna|rugby|siat …" public _defaults_source => array(5) ( "controller" => string(5) "event" "action" => string(4) "view" "trans" => string(2) "tv" "type" => string(3) "1X2" "plain" => string(11) "complete-me" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Event" protected _action => string(4) "view" protected _uri => string(48) "pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" protected _external => bool FALSE protected _params => array(5) ( "sport" => string(11) "pilka-nozna" "plain" => string(25) "vvv-venlo-twente-enschede" "date" => string(10) "2019-11-24" "trans" => string(2) "tv" "type" => string(3) "1X2" ) protected _get => array(1) ( "/pilka-nozna/vvv-venlo-twente-enschede/2019-11-24" => string(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) }
}139 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 140 ':uri' => $this->_uri, 141 )); 142 } 143 144 return $this->_client->execute($this); 145 } 146 147 public function fill() 148 { 149 if ( ! $this->_external)
-
DOCROOT/index.php [ 305 ] » Request->execute()
300 */ 301 302 //try 303 //{ 304 echo Request::factory() 305 ->execute() 306 ->send_headers() 307 ->body(); 308 //} 309 //catch (Kohana_HTTP_Exception_404 $e) 310 //{