Missing Method in ProductController
Error:
The action favicon.ico is not defined in controller ProductController
Error:
Create ProductController::favicon.ico() in file: runz.com/Controller/ProductController.php.
public function favicon.ico() {
}
}
Notice:
If you want to customize this error message, create runz.com/View/Errors/missing_action.ctp
Stack Trace
- CORE/Cake/Routing/Dispatcher.php line 187 → 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 => 'Product/favicon.ico'
base => ''
webroot => '/'
here => '/Product/favicon.ico'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
- CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(ProductController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(ProductController) {
uses => array(
[maximum depth reached]
)
autoRender => false
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
persistModel => false
assign => object(SmartyAssign) {}
local => array(
[maximum depth reached]
)
paginate => null
name => 'Product'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Product'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'favicon.ico'
layout => 'default'
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Product'
modelKey => 'product'
validationErrors => null
Smarty => object(SmartyComponent) {}
Auth => object(AuthComponent) {}
Acl => object(AclComponent) {}
Session => object(SessionComponent) {}
m => 'Product'
Product => object(Product) {}
mdl => object(Product) {}
mn => '产品'
args => array([maximum depth reached])
SystemValue => object(SystemValue) {}
ca => 'product/favicon.ico'
assign_front_ignore => array(
[maximum depth reached]
)
AdPosition => object(AdPosition) {}
Article => object(Article) {}
[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 => 'Product/favicon.ico'
base => ''
webroot => '/'
here => '/Product/favicon.ico'
[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] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
- APP/webroot/index.php line 96 → 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 => 'Product/favicon.ico'
base => ''
webroot => '/'
here => '/Product/favicon.ico'
[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] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}