Notice (8): Undefined index: Products_file [APP/Controller/ProductsController.php, line 1033]Code Context$this->Products_file->id = $id_file;
$data = $this->Products_file->read();
$id_product = $data['Products_file']['product_id'];
$id_file = '774' $data = array()ProductsController::download_file() - APP/Controller/ProductsController.php, line 1033 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Products_file [APP/Controller/ProductsController.php, line 1034]Code Context$data = $this->Products_file->read();
$id_product = $data['Products_file']['product_id'];
$id_media = $data['Products_file']['id'];
$id_file = '774' $data = array() $id_product = nullProductsController::download_file() - APP/Controller/ProductsController.php, line 1034 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Products_file [APP/Controller/ProductsController.php, line 1038]Code Context$this->layout = null;
$this->render(false);
$this->response->file(WWW_ROOT.$path.'/'.$data['Products_file']['filename'], array('download' => true, 'name' => $data['Products_file']['filename']));
$id_file = '774' $data = array() $id_product = null $id_media = null $path = 'files/products//files/'ProductsController::download_file() - APP/Controller/ProductsController.php, line 1038 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Products_file [APP/Controller/ProductsController.php, line 1038]Code Context$this->layout = null;
$this->render(false);
$this->response->file(WWW_ROOT.$path.'/'.$data['Products_file']['filename'], array('download' => true, 'name' => $data['Products_file']['filename']));
$id_file = '774' $data = array() $id_product = null $id_media = null $path = 'files/products//files/'ProductsController::download_file() - APP/Controller/ProductsController.php, line 1038 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined variable: metadata [APP/View/Themed/CTC-Theme/Layouts/default.ctp, line 6]Code Context<?php echo $this->Html->charset(); ?>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php echo $metadata ;?>
$viewFile = '/home/chimie/public_html/app/View/Themed/CTC-Theme/Layouts/default.ctp' $dataForView = array( 'name' => 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable', 'message' => 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable', 'url' => '/products/download_file/774', 'error' => object(NotFoundException) { [protected] _responseHeaders => null [protected] message => 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable' [protected] code => (int) 404 [protected] file => '/home/chimie/public_html/lib/Cake/Network/CakeResponse.php' [protected] line => (int) 1364 }, '_serialize' => array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ), 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null, 'content_for_layout' => '<h2>The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/products/download_file/774'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/Controller/ProductsController.php line 1038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">CakeResponse->file(string, array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $path </span><span style="color: #007700">= </span><span style="color: #DD0000">'files/products/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$id_product</span><span style="color: #007700">.</span><span style="color: #DD0000">'/files/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$id_media</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">-></span><span style="color: #0000BB">file</span><span style="color: #007700">(</span><span style="color: #0000BB">WWW_ROOT</span><span style="color: #007700">.</span><span style="color: #0000BB">$path</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'download' </span><span style="color: #007700">=> </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #DD0000">'name' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">])); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Products_file</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">=></span><span style="color: #0000BB">$id_file</span><span style="color: #007700">,</span><span style="color: #DD0000">'downloads'</span><span style="color: #007700">=></span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'downloads'</span><span style="color: #007700">]+</span><span style="color: #0000BB">1</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/home/chimie/public_html/app/webroot/files/products//files//' array( 'download' => true, 'name' => null )</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">ProductsController->download_file(string)</a> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'774'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Controller/Controller.php line 499</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ReflectionMethod->invokeArgs(ProductsController, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '774' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Routing/Dispatcher.php line 193</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/webroot/index.php line 118</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $name = 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable' $message = 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable' $url = '/products/download_file/774' $error = object(NotFoundException) { [protected] _responseHeaders => null [protected] message => 'The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable' [protected] code => (int) 404 [protected] file => '/home/chimie/public_html/lib/Cake/Network/CakeResponse.php' [protected] line => (int) 1364 } $_serialize = array( (int) 0 => 'name', (int) 1 => 'message', (int) 2 => 'url' ) $analytics_google = '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>' $info_user = null $content_for_layout = '<h2>The requested file /home/chimie/public_html/app//home/chimie/public_html/app/webroot/files/products//files// was not found or not readable</h2> <p class="error"> <strong>Error: </strong> The requested address <strong>'/products/download_file/774'</strong> was not found on this server.</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/Controller/ProductsController.php line 1038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">CakeResponse->file(string, array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $path </span><span style="color: #007700">= </span><span style="color: #DD0000">'files/products/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$id_product</span><span style="color: #007700">.</span><span style="color: #DD0000">'/files/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$id_media</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">-></span><span style="color: #0000BB">file</span><span style="color: #007700">(</span><span style="color: #0000BB">WWW_ROOT</span><span style="color: #007700">.</span><span style="color: #0000BB">$path</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">], array(</span><span style="color: #DD0000">'download' </span><span style="color: #007700">=> </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #DD0000">'name' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'filename'</span><span style="color: #007700">])); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Products_file</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">=></span><span style="color: #0000BB">$id_file</span><span style="color: #007700">,</span><span style="color: #DD0000">'downloads'</span><span style="color: #007700">=></span><span style="color: #0000BB">$data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Products_file'</span><span style="color: #007700">][</span><span style="color: #DD0000">'downloads'</span><span style="color: #007700">]+</span><span style="color: #0000BB">1</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/home/chimie/public_html/app/webroot/files/products//files//' array( 'download' => true, 'name' => null )</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">ProductsController->download_file(string)</a> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'774'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Controller/Controller.php line 499</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ReflectionMethod->invokeArgs(ProductsController, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '774' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Routing/Dispatcher.php line 193</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/webroot/index.php line 118</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Themed/CTC-Theme/Layouts/default.ctp, line 6 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292 ExceptionRenderer::error400() - CORE/Cake/Error/ExceptionRenderer.php, line 236 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Error: The requested address '/products/download_file/774' was not found on this server.
$path = 'files/products/'.$id_product.'/files/'.$id_media;
$this->layout = null;
$this->render(false);
$this->response->file(WWW_ROOT.$path.'/'.$data['Products_file']['filename'], array('download' => true, 'name' => $data['Products_file']['filename']));
$this->Products_file->save(array('id'=>$id_file,'downloads'=>$data['Products_file']['downloads']+1));
'/home/chimie/public_html/app/webroot/files/products//files//' array( 'download' => true, 'name' => null )
'774'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '774' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ProductsController) { uses => array( (int) 0 => 'Product', (int) 1 => 'Products_detail', (int) 2 => 'Products_image', (int) 3 => 'Products_manufacturer', (int) 4 => 'Products_categorie', (int) 5 => 'Products_categorie_detail', (int) 6 => 'Products_categorie_type', (int) 7 => 'Products_products_categorie', (int) 8 => 'Products_images_type', (int) 9 => 'Products_feature_categorie', (int) 10 => 'Products_feature', (int) 11 => 'Products_feature_value', (int) 12 => 'Products_products_feature_value', (int) 13 => 'Taxe', (int) 14 => 'Products_supplier', (int) 15 => 'Products_file', (int) 16 => 'Products_files_restriction', (int) 17 => 'Module', (int) 18 => 'User', (int) 19 => 'Message', (int) 20 => 'Globales_variable' ) helpers => array( (int) 0 => 'Text', (int) 1 => 'Form', (int) 2 => 'Html', (int) 3 => 'Session', (int) 4 => 'Time', (int) 5 => 'Flash' ) components => array( (int) 0 => 'Flash', 'Auth' => array( 'logoutRedirect' => array( [maximum depth reached] ), 'authenticate' => array( [maximum depth reached] ), 'authorize' => array( [maximum depth reached] ) ), (int) 1 => 'RequestHandler', (int) 2 => 'Img', (int) 3 => 'File', (int) 4 => 'Routing', (int) 5 => 'Session', (int) 6 => 'Jwt', (int) 7 => 'Meta', (int) 8 => 'Serp' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array( 'analytics_google' => '<script async src="https://www.googletagmanager.com/gtag/js?id=G-DF6HFF2RGZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-DF6HFF2RGZ'); </script>', 'info_user' => null ) view => 'download_file' layout => null autoRender => false autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => object(View) { Helpers => object(HelperCollection) {} Blocks => object(ViewBlock) {} plugin => null name => 'Products' passedArgs => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) viewPath => 'Products' viewVars => array( [maximum depth reached] ) view => 'download_file' layout => null layoutPath => null autoLayout => true ext => '.ctp' subDir => null theme => 'CTC-Theme' cacheAction => false validationErrors => array( [maximum depth reached] ) hasRendered => true uuids => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} elementCache => 'default' elementCacheSettings => array([maximum depth reached]) Text => object(TextHelper) {} Form => object(FormHelper) {} Html => object(HtmlHelper) {} Session => object(SessionHelper) {} Time => object(TimeHelper) {} Flash => object(FlashHelper) {} [protected] _passedVars => array( [maximum depth reached] ) [protected] _scripts => array([maximum depth reached]) [protected] _paths => array([maximum depth reached]) [protected] _pathsForPlugin => array([maximum depth reached]) [protected] _parents => array([maximum depth reached]) [protected] _current => null [protected] _currentType => '' [protected] _stack => array([maximum depth reached]) [protected] _eventManager => object(CakeEventManager) {} [protected] _eventManagerConfigured => false } ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '774' ) scaffold => false methods => array( (int) 0 => 'admin_index', (int) 1 => 'admin_modal_add_product', (int) 2 => 'admin_edit_product', (int) 3 => 'admin_delete_product', (int) 4 => 'admin_change_online', (int) 5 => 'admin_updateAll', (int) 6 => 'admin_upload_product_image', (int) 7 => 'admin_product_defaut_image', (int) 8 => 'admin_product_delete_image', (int) 9 => 'admin_product_delete_all_images', (int) 10 => 'admin_categories', (int) 11 => 'admin_modal_add_categorie', (int) 12 => 'admin_edit_categorie', (int) 13 => 'admin_upload_categorie_image', (int) 14 => 'admin_update_serp_categorie', (int) 15 => 'admin_config_categorie', (int) 16 => 'admin_modal_add_categorie_type', (int) 17 => 'admin_generate_images_categories', (int) 18 => 'admin_delete_categorie_type', (int) 19 => 'admin_online_categories', (int) 20 => 'admin_sort_categories', (int) 21 => 'admin_delete_categorie', (int) 22 => 'admin_caracteristiques_groups', (int) 23 => 'admin_caracteristiques', (int) 24 => 'admin_caracteristique_values', (int) 25 => 'admin_modal_add_caracteristique_category', (int) 26 => 'admin_modal_add_caracteristique', (int) 27 => 'admin_modal_add_caracteristique_value', (int) 28 => 'admin_update_caracteristique_group', (int) 29 => 'admin_update_feature', (int) 30 => 'admin_update_feature_values', (int) 31 => 'admin_delete_caracteristiques_group', (int) 32 => 'admin_delete_caracteristique', (int) 33 => 'admin_delete_caracteristique_value', (int) 34 => 'list_features_by_group', (int) 35 => 'admin_load_feature_values', (int) 36 => 'admin_add_feature_to_product', (int) 37 => 'admin_delete_feature_from_product', (int) 38 => 'table_features', (int) 39 => 'admin_brands', (int) 40 => 'admin_modal_add_brand', (int) 41 => 'admin_modal_edit_brand', (int) 42 => 'admin_delete_brand', (int) 43 => 'admin_change_online_brand', (int) 44 => 'admin_update_price_product', (int) 45 => 'admin_update_file', (int) 46 => 'admin_upload_file', (int) 47 => 'admin_download_file', (int) 48 => 'admin_reinit_file', (int) 49 => 'admin_delete_file', (int) 50 => 'admin_update_serp_product', (int) 51 => 'index', (int) 52 => 'category', (int) 53 => 'search', (int) 54 => 'product', (int) 55 => 'element_categories', (int) 56 => 'download_file', (int) 58 => 'isAuthorized', (int) 59 => 'OldisAuthorized' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null params => array( [maximum depth reached] ) settings => array( [maximum depth reached] ) components => array([maximum depth reached]) [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Img => object(ImgComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Routing => object(RoutingComponent) { components => array( [maximum depth reached] ) Module => null Main => null Post => null ModulePhoto => null settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Jwt => object(JwtComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Meta => object(MetaComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Serp => object(SerpComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } theme => 'CTC-Theme' Globales_variable => object(Globales_variable) { useDbConfig => 'default' useTable => 'globales_variables' id => false data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'globales_variables' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Globales_variable' alias => 'Globales_variable' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Products_file => object(Products_file) { belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products_files' id => '774' data => array([maximum depth reached]) schemaName => 'chimie_ctc2' table => 'products_files' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Products_file' alias => 'Products_file' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Products_files_restriction => object(AppModel) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'download_file', 'named' => array(), 'pass' => array( (int) 0 => '774' ), 'isAjax' => false, 'models' => array( 'Product' => array( [maximum depth reached] ), 'Products_detail' => array( [maximum depth reached] ), 'Products_image' => array( [maximum depth reached] ), 'Products_manufacturer' => array( [maximum depth reached] ), 'Products_categorie' => array( [maximum depth reached] ), 'Products_categorie_detail' => array( [maximum depth reached] ), 'Products_categorie_type' => array( [maximum depth reached] ), 'Products_products_categorie' => array( [maximum depth reached] ), 'Products_images_type' => array( [maximum depth reached] ), 'Products_feature_categorie' => array( [maximum depth reached] ), 'Products_feature' => array( [maximum depth reached] ), 'Products_feature_value' => array( [maximum depth reached] ), 'Products_products_feature_value' => array( [maximum depth reached] ), 'Taxe' => array( [maximum depth reached] ), 'Products_supplier' => array( [maximum depth reached] ), 'Products_file' => array( [maximum depth reached] ), 'Products_files_restriction' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Message' => array( [maximum depth reached] ), 'Globales_variable' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'products/download_file/774' base => '' webroot => '/' here => '/products/download_file/774' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => '' [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }