APPPATH/classes/Audios.php [ 131 ]
126 //On va chercher les informations de base
127 $a_audios = $this->_m_audios->get_infos_by_machin($lang, $id_machin, $titre_uri);
128
129 //On garde les informations nécessaires
130 $a_audios = array(
131 'id' => $a_audios['id'],
132 'date_affichage' => $a_audios['date_affichage'],
133 'activer_commentaire' => $a_audios['activer_commentaire'],
134 'activer_vote' => $a_audios['activer_vote'],
135 'afficher_complet' => $a_audios['afficher_complet'],
136 'qtn_visionnements' => $a_audios['qtn_visionnements'],
-
APPPATH/classes/Audios.php [ 131 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(51) "Trying to access array offset on value of type null"
2
string(61) "/home/ir_jimplose/jimplose.com/application/classes/Audios.php"
3
integer 131
126 //On va chercher les informations de base 127 $a_audios = $this->_m_audios->get_infos_by_machin($lang, $id_machin, $titre_uri); 128 129 //On garde les informations nécessaires 130 $a_audios = array( 131 'id' => $a_audios['id'], 132 'date_affichage' => $a_audios['date_affichage'], 133 'activer_commentaire' => $a_audios['activer_commentaire'], 134 'activer_vote' => $a_audios['activer_vote'], 135 'afficher_complet' => $a_audios['afficher_complet'], 136 'qtn_visionnements' => $a_audios['qtn_visionnements'],
-
APPPATH/classes/Controller/Audios.php [ 105 ] » Audios->get_infos_by_machin(arguments)
0
string(2) "fr"
1
string(41) "305-lart-detre-un-cameraman-professionnel"
100 101 //On ajoute un visionnement au compteur de l'article 102 $l_images->add_visionnement(Machin::get_id_by_uri($machin)); 103 104 //On va chercher les informations du machin 105 $a_infos = $l_images->get_infos_by_machin($lang, $machin); 106 $this->smarty->assign('a_infos', $a_infos); 107 108 //On instancie un captcha pour les commentaires 109 //$captcha = Captcha::instance(); 110 //$this->smarty->assign('captcha', $captcha->render());
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Audios->action_machin()
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_Audios(35)
{ public request => 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 => string(79) "http://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(39) "<lang>/<controller>/<action>/(<machin>)" protected _regex => array(1) ( "lang" => string(7) "(fr|xx)" ) protected _defaults => array(4) ( "lang" => string(2) "fr" "controller" => string(6) "audios" "action" => string(6) "machin" "machin" => string(0) "" ) protected _route_regex => string(107) "#^(?P<lang>(fr|xx))/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?:(?P<machin>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Audios" protected _action => string(6) "machin" protected _uri => string(58) "fr/audios/machin/305-lart-detre-un-cameraman-professionnel" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "machin" => string(41) "305-lart-detre-un-cameraman-professionnel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected authentification => NULL protected medias_active => integer 1 private a_configs_controller => array(3) ( "styles" => array(1) ( 0 => string(12) "petit_header" ) "scripts" => array(0) "modules" => array(0) ) private a_configs_page => array(3) ( "styles" => array(1) ( 0 => string(8) "niveau_3" ) "scripts" => array(1) ( 0 => string(8) "niveau_3" ) "modules" => array(1) ( 0 => string(12) "mediaelement" ) ) private a_configs_modules => array(2) ( "scripts" => array(1) ( 0 => string(6) "jquery" ) "styles" => array(0) ) private a_configs_commun => array(3) ( "styles" => array(1) ( 0 => string(6) "commun" ) "scripts" => array(2) ( 0 => string(9) "modernizr" 1 => string(6) "commun" ) "modules" => array(5) ( 0 => string(6) "jquery" 1 => string(7) "cookies" 2 => string(7) "userbar" 3 => string(8) "unslider" 4 => string(6) "anchor" ) ) private _parent_tpl => string(0) "" private _templateContenuPage => string(0) "" private _a_CSS => array(6) ( 0 => array(4) ( "file" => string(42) "https://jimplose.com/medias/styles/userbar" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1617677510 ) 1 => array(4) ( "file" => string(70) "https://jimplose.com/medias/styles/mediaelement/mediaelementplayer.min" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1617677494 ) 2 => array(4) ( "file" => string(58) "https://jimplose.com/medias/styles/mediaelement/mejs-skins" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1617677494 ) 3 => array(4) ( "file" => string(41) "https://jimplose.com/medias/styles/commun" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1678761286 ) 4 => array(4) ( "file" => string(47) "https://jimplose.com/medias/styles/petit_header" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1678761268 ) 5 => array(4) ( "file" => string(43) "https://jimplose.com/medias/styles/niveau_3" "rel" => string(10) "stylesheet" "extention" => string(3) "css" "date" => integer 1678761295 ) ) private _a_JavaScripts => array(8) ( 0 => array(2) ( "file" => string(42) "https://jimplose.com/medias/scripts/jquery" "date" => integer 1678759904 ) 1 => array(2) ( "file" => string(51) "https://jimplose.com/medias/scripts/plugins/cookies" "date" => integer 1617677491 ) 2 => array(2) ( "file" => string(52) "https://jimplose.com/medias/scripts/plugins/unslider" "date" => integer 1617677492 ) 3 => array(2) ( "file" => string(50) "https://jimplose.com/medias/scripts/plugins/anchor" "date" => integer 1617677491 ) 4 => array(2) ( "file" => string(84) "https://jimplose.com/medias/scripts/plugins/mediaelement/mediaelement-and-player.min" "date" => integer 1617677492 ) 5 => array(2) ( "file" => string(45) "https://jimplose.com/medias/scripts/modernizr" "date" => integer 1617677492 ) 6 => array(2) ( "file" => string(42) "https://jimplose.com/medias/scripts/commun" "date" => integer 1678761271 ) 7 => array(2) ( "file" => string(44) "https://jimplose.com/medias/scripts/niveau_3" "date" => integer 1678761285 ) ) private _a_embeddedJavascripts => array(1) ( 0 => string(655) "var langue = "fr"; var controller = "audios"; var page = "machin"; var url_medias = "https://jimplose.com/medias/"; var canonica …" ) private _a_modules => array(6) ( 0 => string(6) "jquery" 1 => string(7) "cookies" 2 => string(7) "userbar" 3 => string(8) "unslider" 4 => string(6) "anchor" 5 => string(12) "mediaelement" ) private _titre_uri_traduction => NULL private _force_template => NULL public template => NULL public smarty => object Smarty(76){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }{ public _objType => integer 1 public template_class => string(24) "Smarty_Internal_Template" public tpl_vars => array(16) ( "debug" => object Smarty_Variable(2)
public medias => NULL public auto_render => bool TRUE public integration => bool TRUE protected hierarchie_active => integer 1 private l_hierarchie => object Hierarchie(4){ public value => bool FALSE public nocache => bool FALSE }
"abs_medias_dir" => object Smarty_Variable(2){ public value => string(50) "/home/ir_jimplose/jimplose.com/application/medias/" public nocache => bool FALSE }
"limit_tags_base" => object Smarty_Variable(2){ public value => integer 20 public nocache => bool FALSE }
"userbar" => object Smarty_Variable(2){ public value => string(1694) "<div id="reseauIR"> <div id="reseauIR-left"> </div> <div id="reseauIR-r …" public nocache => bool FALSE }
"options_search_bar" => object Smarty_Variable(2){ public value => array(3) ( "view" => string(23) "commun/userbar_jimplose" "action_search" => string(34) "https://jimplose.com/fr/recherche/" "recherche" => string(0) "" ) public nocache => bool FALSE }
"langue" => object Smarty_Variable(2){ public value => string(2) "fr" public nocache => bool FALSE }
"controller" => object Smarty_Variable(2){ public value => string(6) "audios" public nocache => bool FALSE }
"page" => object Smarty_Variable(2){ public value => string(6) "machin" public nocache => bool FALSE }
"url_medias" => object Smarty_Variable(2){ public value => string(28) "https://jimplose.com/medias/" public nocache => bool FALSE }
"canonical" => object Smarty_Variable(2){ public value => string(80) "https://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" public nocache => bool FALSE }
"url_upload" => object Smarty_Variable(2){ public value => string(29) "https://uploads.jimplose.com/" public nocache => bool FALSE }
"url_base" => object Smarty_Variable(2){ public value => string(21) "https://jimplose.com/" public nocache => bool FALSE }
"url_lang" => object Smarty_Variable(2){ public value => string(24) "https://jimplose.com/fr/" public nocache => bool FALSE }
"url_now" => object Smarty_Variable(2){ public value => string(80) "https://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" public nocache => bool FALSE }
"url_domain_lang" => object Smarty_Variable(2){ public value => string(80) "https://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" public nocache => bool FALSE }
"page_referer" => object Smarty_Variable(2){ public value => string(79) "http://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" public nocache => bool FALSE }
) public parent => NULL public config_vars => array(0) public ext => object Smarty_Internal_Extension_Handler(4){ public objType => integer 1 private _property_info => array(8) ( "AutoloadFilters" => integer 0 "DefaultModifiers" => integer 0 "ConfigVars" => integer 0 "DebugTemplate" => integer 0 "RegisteredObject" => integer 0 "StreamVariable" => integer 0 "TemplateVars" => integer 0 "Literals" => string(8) "Literals" ) private resolvedProperties => array(0) public registerPlugin => object Smarty_Internal_Method_RegisterPlugin(1)
public cache_id => NULL public compile_id => NULL public caching => NULL public compile_check => integer 1 public cache_lifetime => integer 3600 public tplFunctions => array(0) public _cache => array(0) public auto_literal => bool TRUE public error_unassigned => bool FALSE public use_include_path => bool FALSE public _templateDirNormalized => bool FALSE public _joined_template_dir => string(1051) "/home/ir_jimplose/modules/database/views/#/home/ir_jimplose/modules/smarty/views/#/home/ir_jimplose/modules/image/views/#/home/i …" public _configDirNormalized => bool FALSE public _joined_config_dir => NULL public default_template_handler_func => NULL public default_config_handler_func => NULL public default_plugin_handler_func => NULL public _compileDirNormalized => bool TRUE public _pluginsDirNormalized => bool FALSE public _cacheDirNormalized => bool TRUE public force_compile => bool FALSE public use_sub_dirs => bool FALSE public allow_ambiguous_resources => bool FALSE public merge_compiled_includes => bool FALSE public extends_recursion => bool TRUE public force_cache => bool FALSE public left_delimiter => string(5) "<!--{" public right_delimiter => string(4) "}-->" public literals => array(0) public security_class => string(15) "Smarty_Security" public security_policy => NULL public allow_php_templates => bool FALSE public debugging => bool FALSE public debugging_ctrl => bool FALSE public smarty_debug_id => string(12) "SMARTY_DEBUG" public debug_tpl => string(48) "/home/ir_jimplose/modules/smarty/views/debug.tpl" public error_reporting => NULL public config_overwrite => bool TRUE public config_booleanize => bool TRUE public config_read_hidden => bool FALSE public compile_locking => bool TRUE public cache_locking => bool FALSE public locking_timeout => integer 10 public default_resource_type => string(4) "file" public caching_type => string(4) "file" public default_config_type => string(4) "file" public cache_modified_check => bool FALSE public registered_plugins => array(1) ( "modifier" => array(1) ( "print_r" => array(3) ( 0 => string(7) "print_r" 1 => bool TRUE 2 => array(0) ) ) ) public registered_objects => array(0) public registered_classes => array(0) public registered_filters => array(0) public registered_resources => array(0) public registered_cache_resources => array(0) public autoload_filters => array(3) ( "pre" => array(0) "post" => array(0) "output" => array(0) ) public default_modifiers => array(0) public escape_html => bool FALSE public start_time => float 1711727299.5758 public _current_file => NULL public _parserdebug => bool FALSE public _debug => NULL protected template_dir => array(25) ( 0 => string(49) "/home/ir_jimplose/jimplose.com/application/views/" 1 => string(44) "/home/ir_jimplose/jimplose.com/public/views/" 2 => string(39) "/home/ir_jimplose/modules/disqus/views/" 3 => string(42) "/home/ir_jimplose/modules/recherche/views/" 4 => string(36) "/home/ir_jimplose/modules/faq/views/" 5 => string(43) "/home/ir_jimplose/modules/categories/views/" 6 => string(45) "/home/ir_jimplose/modules/commentaires/views/" 7 => string(40) "/home/ir_jimplose/modules/captcha/views/" 8 => string(40) "/home/ir_jimplose/modules/auteurs/views/" 9 => string(43) "/home/ir_jimplose/modules/fileupload/views/" 10 => string(37) "/home/ir_jimplose/modules/tags/views/" 11 => string(38) "/home/ir_jimplose/modules/pages/views/" 12 => string(43) "/home/ir_jimplose/modules/babillards/views/" 13 => string(41) "/home/ir_jimplose/modules/articles/views/" 14 => string(43) "/home/ir_jimplose/modules/hierarchie/views/" 15 => string(39) "/home/ir_jimplose/modules/routes/views/" 16 => string(43) "/home/ir_jimplose/modules/pagination/views/" 17 => string(40) "/home/ir_jimplose/modules/userbar/views/" 18 => string(49) "/home/ir_jimplose/modules/authentification/views/" 19 => string(39) "/home/ir_jimplose/modules/jquery/views/" 20 => string(37) "/home/ir_jimplose/modules/logs/views/" 21 => string(39) "/home/ir_jimplose/modules/commun/views/" 22 => string(38) "/home/ir_jimplose/modules/image/views/" 23 => string(39) "/home/ir_jimplose/modules/smarty/views/" 24 => string(41) "/home/ir_jimplose/modules/database/views/" ) protected _processedTemplateDir => array(0) protected config_dir => array(1) ( 0 => string(49) "/home/ir_jimplose/modules/smarty/template_config/" ) protected _processedConfigDir => array(0) protected compile_dir => string(49) "/home/ir_jimplose/jimplose.com/application/cache/" protected plugins_dir => array(1) ( 0 => string(49) "/home/ir_jimplose/modules/smarty/classes/plugins/" ) protected cache_dir => string(49) "/home/ir_jimplose/jimplose.com/application/cache/" protected obsoleteProperties => array(8) ( 0 => string(16) "resource_caching" 1 => string(25) "template_resource_caching" 2 => string(22) "direct_access_security" 3 => string(10) "_dir_perms" 4 => string(11) "_file_perms" 5 => string(19) "plugin_search_order" 6 => string(35) "inheritance_merge_compiled_includes" 7 => string(19) "resource_cache_mode" ) protected accessMap => array(5) ( "template_dir" => string(11) "TemplateDir" "config_dir" => string(9) "ConfigDir" "plugins_dir" => string(10) "PluginsDir" "compile_dir" => string(10) "CompileDir" "cache_dir" => string(8) "CacheDir" ) private isMutingUndefinedOrNullWarnings => bool FALSE }{ public objMap => integer 3 }
}{ private a_fil_ariane => array(0) private m_hierarchie => object Model_Hierarchie(1)
private _code_site => string(6) "public" private _titre => string(0) "" private _titre_page => string(0) "" private _description_page => string(0) "" private _mots_cles_page => string(0) "" private _thumbnail => string(0) "" private a_uri => array(0) private _a_arguments => array(2) ( "lang" => string(2) "fr" "machin" => string(41) "305-lart-detre-un-cameraman-professionnel" ) private _titre_uri_traduction => string(0) "" private _id_hierarchie => integer 377 protected _id_controller => NULL protected _id_methode => NULL }{ private db => object DB(0)
private m_controllers => object Model_Controllers(1){ }
}{ private db => object DB(0)
private m_hierarchietags => NULL }{ }
}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 => string(79) "http://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(39) "<lang>/<controller>/<action>/(<machin>)" protected _regex => array(1) ( "lang" => string(7) "(fr|xx)" ) protected _defaults => array(4) ( "lang" => string(2) "fr" "controller" => string(6) "audios" "action" => string(6) "machin" "machin" => string(0) "" ) protected _route_regex => string(107) "#^(?P<lang>(fr|xx))/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?:(?P<machin>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Audios" protected _action => string(6) "machin" protected _uri => string(58) "fr/audios/machin/305-lart-detre-un-cameraman-professionnel" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "machin" => string(41) "305-lart-detre-un-cameraman-professionnel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }
}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 => string(79) "http://jimplose.com/fr/audios/machin/305-lart-detre-un-cameraman-professionnel/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(39) "<lang>/<controller>/<action>/(<machin>)" protected _regex => array(1) ( "lang" => string(7) "(fr|xx)" ) protected _defaults => array(4) ( "lang" => string(2) "fr" "controller" => string(6) "audios" "action" => string(6) "machin" "machin" => string(0) "" ) protected _route_regex => string(107) "#^(?P<lang>(fr|xx))/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?:(?P<machin>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Audios" protected _action => string(6) "machin" protected _uri => string(58) "fr/audios/machin/305-lart-detre-un-cameraman-professionnel" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "machin" => string(41) "305-lart-detre-un-cameraman-professionnel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ 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 _previous_environment => NULL }
}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/public/index.php [ 140 ] » Kohana_Request->execute()
135 /** 136 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 137 * If no source is specified, the URI will be automatically detected. 138 */ 139 echo Request::factory(TRUE, [], FALSE) 140 ->execute() 141 ->send_headers(TRUE) 142 ->body(); 143 }