Code Context
">
</div>
</header>
<div id="content" class="clearfix <?php echo $page; ?>">
$viewFile = '/home/pier33/public_html/app/View/Layouts/default.ctp' $dataForView = array( 'controller' => 'AppController', 'action' => 'webroot', 'code' => '404', 'url' => '/app/webroot/new/noticias_ver.php?id=13', 'name' => 'Action AppController::webroot() could not be found.', 'error' => object(MissingActionException) { }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ), 'content_for_layout' => '<h2>Missing Method in AppController</h2> <p class="error"> <strong>Error: </strong> The action <em>webroot</em> is not defined in controller <em>AppController</em></p> <p class="error"> <strong>Error: </strong> Create <em>AppController::</em><em>webroot()</em> in file: app/Controller/AppController.php.</p> <pre> <?php class AppController extends AppController { <strong> public function webroot() { } </strong> } </pre> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_action.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Routing/Dispatcher.php line 186</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> $controller->startupProcess();</span></code> <code><span style="color: #000000"></span></code> <code><span style="color: #000000"> $render = true;</span></code> <span class="code-highlight"><code><span style="color: #000000"> $result = $controller->invokeAction($request);</span></code></span> <code><span style="color: #000000"> if ($result instanceof CakeResponse) {</span></code></pre></div> <div id="trace-args-0" 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 => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Routing/Dispatcher.php line 161</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Dispatcher->_invoke(AppController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code> <code><span style="color: #000000"> }</span></code> <code><span style="color: #000000"></span></code> <span class="code-highlight"><code><span style="color: #000000"> $response = $this->_invoke($controller, $request, $response);</span></code></span> <code><span style="color: #000000"> if (isset($request->params['return'])) {</span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>object(AppController) { name => 'App' uses => array( [maximum depth reached] ) helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'App' layoutPath => null viewVars => array([maximum depth reached]) view => 'webroot' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} components => array( [maximum depth reached] ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array([maximum depth reached]) modelClass => 'App' modelKey => 'app' validationErrors => null Session => object(SessionComponent) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/webroot/index.php line 92</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000">App::uses('Dispatcher', 'Routing');</span></code> <code><span style="color: #000000"></span></code> <code><span style="color: #000000">$Dispatcher = new Dispatcher();</span></code> <span class="code-highlight"><code><span style="color: #000000">$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));</span></code></span> <code><span style="color: #000000"></span></code></pre></div> <div id="trace-args-2" 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 => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }</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' ) $controller = 'AppController' $action = 'webroot' $code = '404' $url = '/app/webroot/new/noticias_ver.php?id=13' $name = 'Action AppController::webroot() could not be found.' $error = object(MissingActionException) { } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '<h2>Missing Method in AppController</h2> <p class="error"> <strong>Error: </strong> The action <em>webroot</em> is not defined in controller <em>AppController</em></p> <p class="error"> <strong>Error: </strong> Create <em>AppController::</em><em>webroot()</em> in file: app/Controller/AppController.php.</p> <pre> <?php class AppController extends AppController { <strong> public function webroot() { } </strong> } </pre> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/missing_action.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Routing/Dispatcher.php line 186</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> $controller->startupProcess();</span></code> <code><span style="color: #000000"></span></code> <code><span style="color: #000000"> $render = true;</span></code> <span class="code-highlight"><code><span style="color: #000000"> $result = $controller->invokeAction($request);</span></code></span> <code><span style="color: #000000"> if ($result instanceof CakeResponse) {</span></code></pre></div> <div id="trace-args-0" 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 => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Routing/Dispatcher.php line 161</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">Dispatcher->_invoke(AppController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code> <code><span style="color: #000000"> }</span></code> <code><span style="color: #000000"></span></code> <span class="code-highlight"><code><span style="color: #000000"> $response = $this->_invoke($controller, $request, $response);</span></code></span> <code><span style="color: #000000"> if (isset($request->params['return'])) {</span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>object(AppController) { name => 'App' uses => array( [maximum depth reached] ) helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'App' layoutPath => null viewVars => array([maximum depth reached]) view => 'webroot' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} components => array( [maximum depth reached] ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array([maximum depth reached]) modelClass => 'App' modelKey => 'app' validationErrors => null Session => object(SessionComponent) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/webroot/index.php line 92</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000">App::uses('Dispatcher', 'Routing');</span></code> <code><span style="color: #000000"></span></code> <code><span style="color: #000000">$Dispatcher = new Dispatcher();</span></code> <span class="code-highlight"><code><span style="color: #000000">$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));</span></code></span> <code><span style="color: #000000"></span></code></pre></div> <div id="trace-args-2" 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 => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }</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' $cakeDescription = 'Marina Pier 33' $version = (int) 333
include - APP/View/Layouts/default.ctp, line 84 View::_evaluate() - CORE/Cake/View/View.php, line 920 View::_render() - CORE/Cake/View/View.php, line 883 View::renderLayout() - CORE/Cake/View/View.php, line 539 View::render() - CORE/Cake/View/View.php, line 483 Controller::render() - CORE/Cake/Controller/Controller.php, line 957 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 268 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 192 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 170 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Missing Method in AppController
Error: The action webroot is not defined in controller AppController
Error: Create AppController::webroot() in file: app/Controller/AppController.php.
<?php class AppController extends AppController { public function webroot() { } }
Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp
Stack Trace
- CORE/Cake/Routing/Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
$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 => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' }
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(AppController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(AppController) { name => 'App' uses => array( [maximum depth reached] ) helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'App' layoutPath => null viewVars => array([maximum depth reached]) view => 'webroot' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} components => array( [maximum depth reached] ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array([maximum depth reached]) modelClass => 'App' modelKey => 'app' validationErrors => null Session => object(SessionComponent) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }
- APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'app/webroot/new/noticias_ver.php' base => '' webroot => '/' here => '/app/webroot/new/noticias_ver.php' } object(CakeResponse) { }