은 그래서젠드 프레임 워크 부트 스트랩 오류
protected function _initSetDefaultKeywords() {
$view = $this->bootstrap('view')->getResource('view');
$view->keywords = 'default keywords';
}
을 bootstrap.php이 줄을 추가했지만 그것은 내가 application.ini하는 resources.view[] = ""
을 추가하는 시도 오류 때문에
Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Resource matching "view" not found
를 표시 할 것이지만, 그럴 때 내 모든보기 도우미가 갑자기 작동을 멈 춥니 다.
* s
An error occurred
Application error
Exception information:
Message: Plugin by name 'X' was not found in the registry
어떻게 해결합니까?
현재있는 App.ini
[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.frontController.defaultControllerName = "view"
resources.view[] = ""
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
당신이 현재 application.ini 파일을 게시 할 수 있을까? – emaillenin