Missing Method in NewsController
Error:
The action 389 is not defined in controller NewsController
Error:
Create NewsController::389() in file: app/Controller/NewsController.php.
<?php
class NewsController extends AppController {
public function 389() {
}
}
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 => 'news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
base => ''
webroot => '/'
here => '/news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
}
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(NewsController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(NewsController) {
name => 'News'
uses => array(
[maximum depth reached]
)
helpers => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'News'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => '389'
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 => 'News'
modelKey => 'news'
validationErrors => null
Session => object(SessionComponent) {}
News => object(News) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
base => ''
webroot => '/'
here => '/news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
}
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 => 'news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
base => ''
webroot => '/'
here => '/news/389/660/huong-dan-chuan-bi-be-mat-son-nha.aspx'
}
object(CakeResponse) {
}