Notice (8): Undefined index: Page [APP/Controller/PagesController.php, line 234]Code Context
// Balise title
$title_for_layout = $page['Page']['meta_title'];
$alias = 'index' $page = array()PagesController::display() - APP/Controller/PagesController.php, line 234 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 124
Notice (8): Undefined index: Page [APP/Controller/PagesController.php, line 237]Code Context
// Menus
$menus = $this->_affichageMenu($page['Page']['id']);
$alias = 'index' $page = array() $title_for_layout = nullPagesController::display() - APP/Controller/PagesController.php, line 237 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 124
Notice (8): Undefined index: Page [APP/Controller/PagesController.php, line 240]Code Context
// Fil d'ariane
$breadcrumb = $this->Page->getPath($page['Page']['id']);
$alias = 'index' $page = array() $title_for_layout = null $menus = ''PagesController::display() - APP/Controller/PagesController.php, line 240 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 124
Notice (8): Undefined index: Layout [APP/Controller/PagesController.php, line 265]Code Context
$this->set(compact('title_for_layout', 'page', 'menus', 'breadcrumb', 'annexes'));
$this->render('/Elements/Layouts/Site/site-'.$page['Layout']['name']); // On affiche le bon template
$alias = 'index' $page = array() $title_for_layout = null $menus = '' $breadcrumb = null $annexes = array( (int) 0 => array( 'Page' => array( 'alias' => 'Bruno Dubois vigneron en Saumur Champigny', 'name' => 'Accueil', 'specific_url' => '' ) ), (int) 1 => array( 'Page' => array( 'alias' => 'le-domaine', 'name' => 'Le domaine', 'specific_url' => '' ) ), (int) 2 => array( 'Page' => array( 'alias' => 'les-vins', 'name' => 'Les vins', 'specific_url' => '' ) ), (int) 3 => array( 'Page' => array( 'alias' => 'saumur-champigny', 'name' => 'Saumur-Champigny', 'specific_url' => '' ) ), (int) 4 => array( 'Page' => array( 'alias' => 'bulle-de-bd', 'name' => 'Bulle de BD', 'specific_url' => '' ) ), (int) 5 => array( 'Page' => array( 'alias' => 'blanc-du-bois', 'name' => 'Blanc du bois', 'specific_url' => '' ) ), (int) 6 => array( 'Page' => array( 'alias' => 'la-cuvee-du-coin', 'name' => 'La cuvée du coin', 'specific_url' => '' ) ), (int) 7 => array( 'Page' => array( 'alias' => 'sortir-du-bois', 'name' => 'Sortir du Bois', 'specific_url' => '' ) ), (int) 8 => array( 'Page' => array( 'alias' => 'l-actualite', 'name' => 'L'actualité', 'specific_url' => '' ) ), (int) 9 => array( 'Page' => array( 'alias' => 'le-film', 'name' => 'Le film', 'specific_url' => '' ) ), (int) 10 => array( 'Page' => array( 'alias' => 'mentions-legales', 'name' => 'Mentions légales', 'specific_url' => '' ) ), (int) 11 => array( 'Page' => array( 'alias' => 'contact', 'name' => 'Contact', 'specific_url' => 'contact' ) ) )PagesController::display() - APP/Controller/PagesController.php, line 265 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 124
Warning (2): file_put_contents(/home/bruno_dubois/www/app/tmp/logs/error.log) [function.file-put-contents]: failed to open stream: No such file or directory [CORE/Cake/Log/Engine/FileLog.php, line 87]Code Context}
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND);
$type = 'error' $message = '[MissingViewException] View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing. Exception Attributes: array ( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', ) Request URL: /pages/index/language:eng Stack Trace: #0 /home/bruno_dubois/www/lib/Cake/View/View.php(468): View->_getViewFileName('/Elements/Layou...') #1 /home/bruno_dubois/www/lib/Cake/Controller/Controller.php(952): View->render('/Elements/Layou...', NULL) #2 /home/bruno_dubois/www/app/Controller/PagesController.php(265): Controller->render('/Elements/Layou...') #3 [internal function]: PagesController->display('index') #4 /home/bruno_dubois/www/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(PagesController), Array) #5 /home/bruno_dubois/www/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest)) #6 /home/bruno_dubois/www/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse)) #7 /home/bruno_dubois/www/app/webroot/index.php(124): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #8 {main}' $debugTypes = array( (int) 0 => 'notice', (int) 1 => 'info', (int) 2 => 'debug' ) $filename = '/home/bruno_dubois/www/app/tmp/logs/error.log' $output = '2023-09-27 20:25:48 Error: [MissingViewException] View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing. Exception Attributes: array ( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', ) Request URL: /pages/index/language:eng Stack Trace: #0 /home/bruno_dubois/www/lib/Cake/View/View.php(468): View->_getViewFileName('/Elements/Layou...') #1 /home/bruno_dubois/www/lib/Cake/Controller/Controller.php(952): View->render('/Elements/Layou...', NULL) #2 /home/bruno_dubois/www/app/Controller/PagesController.php(265): Controller->render('/Elements/Layou...') #3 [internal function]: PagesController->display('index') #4 /home/bruno_dubois/www/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(PagesController), Array) #5 /home/bruno_dubois/www/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest)) #6 /home/bruno_dubois/www/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse)) #7 /home/bruno_dubois/www/app/webroot/index.php(124): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #8 {main} 'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 453 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 114 [main] - [internal], line ??
</head>
<body>
<div class="container container_total container_total_page_<?php echo $page['Layout']['name']; ?>">
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = (int) 500 $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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/Layouts/default.ctp, line 60 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
<div class="container container_total container_total_page_<?php echo $page['Layout']['name']; ?>">
<!-- HEADER -->
<header role="banner" class="container page_<?php echo $page['Page']['id']; ?> container_page_<?php echo $page['Layout']['name']; ?>">
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = (int) 500 $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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/Layouts/default.ctp, line 62 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: page [APP/View/Layouts/default.ctp, line 62]">Code Context<div class="container container_total container_total_page_<?php echo $page['Layout']['name']; ?>">
<!-- HEADER -->
<header role="banner" class="container page_<?php echo $page['Page']['id']; ?> container_page_<?php echo $page['Layout']['name']; ?>">
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = (int) 500 $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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/Layouts/default.ctp, line 62 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: page [APP/View/Layouts/default.ctp, line 76]Code Contextforeach(Configure::read('Config.languages') as $code => $language):
echo ($code == $current_language) ? '<li class="active">': '<li>';
if($page['Page']['home'] == 1) {
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = 'fra' $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' $language = 'Français'include - APP/View/Layouts/default.ctp, line 76 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: versions [APP/View/Layouts/default.ctp, line 85]FrançaisCode Context'action' => 'display',
'language' => $code,
$versions[$code]['content']
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = 'fra' $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' $language = 'Français'include - APP/View/Layouts/default.ctp, line 85 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: page [APP/View/Layouts/default.ctp, line 76]Code Contextforeach(Configure::read('Config.languages') as $code => $language):
echo ($code == $current_language) ? '<li class="active">': '<li>';
if($page['Page']['home'] == 1) {
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = 'eng' $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' $language = 'English'include - APP/View/Layouts/default.ctp, line 76 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: versions [APP/View/Layouts/default.ctp, line 85]EnglishCode Context'action' => 'display',
'language' => $code,
$versions[$code]['content']
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = 'eng' $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' $language = 'English'include - APP/View/Layouts/default.ctp, line 85 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Notice (8): Undefined variable: page [APP/View/Layouts/default.ctp, line 109]Code Context<div style="display:none;">
<?php
$nom_img_top= $page['Page']['alias']."-top.png";
$viewFile = '/home/bruno_dubois/www/app/View/Layouts/default.ctp' $dataForView = array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp', 'code' => (int) 500, 'url' => '/pages/index/language:eng', 'name' => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.', 'error' => object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( [maximum depth reached] ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'current_language' => 'fra', 'content_for_layout' => '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' ) $file = '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' $code = 'eng' $url = '/pages/index/language:eng' $name = 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' $error = object(MissingViewException) { [protected] _messageTemplate => 'View file "%s" is missing.' [protected] _attributes => array( 'file' => '/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp' ) [protected] _responseHeaders => null [protected] message => 'View file "/home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp" is missing.' [protected] code => (int) 500 [protected] file => '/home/bruno_dubois/www/lib/Cake/View/View.php' [protected] line => (int) 1019 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $current_language = 'fra' $content_for_layout = '<h2>Missing View</h2> <p class="error"> <strong>Error: </strong> The view for <em>PagesController::</em><em>display()</em> was not found.</p> <p class="error"> <strong>Error: </strong> Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp</p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_view.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/View/View.php line 468</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">View->_getViewFileName(string)</a> <div id="file-excerpt-0" 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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">&& </span><span style="color: #0000BB">$viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</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">_currentType </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">TYPE_VIEW</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Controller/Controller.php line 952</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">View->render(string, null)</a> <div id="file-excerpt-1" 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></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoRender </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">body</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'/Elements/Layouts/Site/site-' null</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/PagesController.php line 265</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Controller->render(string)</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: #007700">unset(</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'aliasTranslations'</span><span style="color: #007700">]);*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'title_for_layout'</span><span style="color: #007700">, </span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #DD0000">'menus'</span><span style="color: #007700">, </span><span style="color: #DD0000">'breadcrumb'</span><span style="color: #007700">, </span><span style="color: #DD0000">'annexes'</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">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'/Elements/Layouts/Site/site-'</span><span style="color: #007700">.</span><span style="color: #0000BB">$page</span><span style="color: #007700">[</span><span style="color: #DD0000">'Layout'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">]); </span><span style="color: #FF8000">// On affiche le bon template</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>'/Elements/Layouts/Site/site-'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">PagesController->display(string)</a> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'index'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">ReflectionMethod->invokeArgs(PagesController, array)</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: #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-4" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></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-5" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-6" 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 style="color: #0000BB">$response</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-6" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/webroot/index.php line 124</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-7" 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-7" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</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' $language = 'English'include - APP/View/Layouts/default.ctp, line 109 View::_evaluate() - CORE/Cake/View/View.php, line 945 View::_render() - CORE/Cake/View/View.php, line 907 View::renderLayout() - CORE/Cake/View/View.php, line 535 View::render() - CORE/Cake/View/View.php, line 479 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 200 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123 [main] - [internal], line ??
Error: The view for PagesController::display() was not found.
Error: Confirm you have created the file: /home/bruno_dubois/www/app/View/Elements/Layouts/Site/site-.ctp
Notice: If you want to customize this error message, create app/View/Errors/missing_view.ctp
}
$this->Blocks->set('content', '');
if ($view !== false && $viewFileName = $this->_getViewFileName($view)) {
$this->_currentType = self::TYPE_VIEW;
'/Elements/Layouts/Site/site-'
}
$this->autoRender = false;
$this->response->body($this->View->render($view, $layout));
return $this->response;
'/Elements/Layouts/Site/site-' null
unset($page['aliasTranslations']);*/
$this->set(compact('title_for_layout', 'page', 'menus', 'breadcrumb', 'annexes'));
$this->render('/Elements/Layouts/Site/site-'.$page['Layout']['name']); // On affiche le bon template
'/Elements/Layouts/Site/site-'
'index'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'index' )
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(PagesController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Pages' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'display' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Page' modelKey => 'page' validationErrors => null RequestHandler => object(RequestHandlerComponent) {} Cookie => object(CookieComponent) {} Session => object(SessionComponent) {} Security => object(SecurityComponent) {} Auth => object(AuthComponent) {} Page => object(Page) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'pages/index/language:eng' base => '' webroot => '/' here => '/pages/index/language:eng' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } 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 => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }