Unable to load template file 'menu_show.html'
Error: An Internal Error Has Occurred.
Stack Trace
- APP/Controller/Component/SmartyComponent.php line 163 → Smarty_Internal_TemplateBase->fetch(string, null, null, null)
}
header("Content-type:{$this->content_type};charset={$this->charset}");
$this->controller->response->body($this->_smarty->fetch(strtolower($template), $cache_id, $compile_id, $parent));
}
'menu_show.html' null null null
- APP/Controller/Component/SmartyComponent.php line 65 → SmartyComponent->display(string, null, null)
$template=$controller->_renderTpl($template);
}
$this->default_assign();
$this->display($template,$this->cache_id,$this->compile_id);
}
'menu_show.html' null null
- [internal function] → SmartyComponent->shutdown(MenuController)
object(MenuController) { autoRender => false uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) persistModel => false assign => object(SmartyAssign) {} local => array( [maximum depth reached] ) paginate => null rightArr => array([maximum depth reached]) name => 'Menu' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Menu' layoutPath => null viewVars => array([maximum depth reached]) view => 'show' 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 => 'Menu' modelKey => 'menu' validationErrors => null Smarty => object(SmartyComponent) {} Auth => object(AuthComponent) {} Acl => object(AclComponent) {} Session => object(SessionComponent) {} m => 'Menu' Menu => object(Menu) {} mdl => object(Menu) {} mn => '栏目' args => array( [maximum depth reached] ) Userright => object(AppModel) {} SystemValue => object(SystemValue) {} ca => 'menu/show' assign_front_ignore => array( [maximum depth reached] ) Link => object(Link) {} Line => object(Line) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} }
- CORE/Cake/Utility/ObjectCollection.php line 132 → call_user_func_array(array, array)
}
$result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
if ($options['collectReturn'] === true) {
array( (int) 0 => object(SmartyComponent) {}, (int) 1 => 'shutdown' ) array( 'subject' => object(MenuController) {} )
- [internal function] → ObjectCollection->trigger(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.shutdown' [protected] _subject => object(MenuController) {} [protected] _stopped => false }
- CORE/Cake/Event/CakeEventManager.php line 248 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array( (int) 0 => object(ComponentCollection) {}, (int) 1 => 'trigger' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.shutdown' [protected] _subject => object(MenuController) {} [protected] _stopped => false }
- CORE/Cake/Controller/Controller.php line 684 → CakeEventManager->dispatch(CakeEvent)
* @return void
*/
public function shutdownProcess() {
$this->getEventManager()->dispatch(new CakeEvent('Controller.shutdown', $this));
}
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.shutdown' [protected] _subject => object(MenuController) {} [protected] _stopped => false }
- CORE/Cake/Routing/Dispatcher.php line 200 → Controller->shutdownProcess()
) {
$response->body($result);
}
$controller->shutdownProcess();
- CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(MenuController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(MenuController) { autoRender => false uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) persistModel => false assign => object(SmartyAssign) {} local => array( [maximum depth reached] ) paginate => null rightArr => array([maximum depth reached]) name => 'Menu' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Menu' layoutPath => null viewVars => array([maximum depth reached]) view => 'show' 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 => 'Menu' modelKey => 'menu' validationErrors => null Smarty => object(SmartyComponent) {} Auth => object(AuthComponent) {} Acl => object(AclComponent) {} Session => object(SessionComponent) {} m => 'Menu' Menu => object(Menu) {} mdl => object(Menu) {} mn => '栏目' args => array( [maximum depth reached] ) Userright => object(AppModel) {} SystemValue => object(SystemValue) {} ca => 'menu/show' assign_front_ignore => array( [maximum depth reached] ) Link => object(Link) {} Line => object(Line) {} [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 => 'menu/show/1.html' base => '' webroot => '/' here => '/menu/show/1.html' [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 => 'menu/show/1.html' base => '' webroot => '/' here => '/menu/show/1.html' [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]) }