我對Zend有一個奇怪的問題。它在localhost和開發機器上運行良好。但生產它給指定的錯誤無效控制器(收據)zend framewrok錯誤生產中指定的控制器無效
Request Parameters:
array (
'controller' => 'receipt',
'action' => 'create',
'module' => 'default',
)
我的應用程序的.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.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules[] = ""
resources.frontController.moduleControllerDirectoryName = "controllers"
resources.frontController.params.prefixDefaultModule = ""
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
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
任何幫助,將最有可能的情況下,敏感的問題讚賞
你確定帶有控制器代碼的文件是上傳的嗎?你是否改變了生產機器上的目錄結構? – zavg