0

我刚刚从一个用 pimcore 开发的“废弃”项目中获得了需要恢复的数据库 + 文件。远程服务器是 LAMP 环境,而我的 PC 是 WAMP 环境。该站点远程工作正常,但是当我尝试打开索引时,我得到了

 Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (Newsletter)' in D:\www\test\pimcore\lib\Zend\Controller\Dispatcher\Standard.php:248 Stack trace: #0 D:\www\test\ricordamipianella\pimcore\lib\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\www\test\pimcore\lib\Pimcore.php(216): Zend_Controller_Front->dispatch() #2 D:\www\test\index.php(19): Pimcore::run() #3 {main} thrown in D:\www\test\pimcore\lib\Zend\Controller\Dispatcher\Standard.php on line 248

虽然我可以打开控制面板(至少是登录页面)。由于我不了解 pimcore 或 Zend FM,有人知道如何找到导致错误的原因吗?

谢谢

4

1 回答 1

1

如果您直接下载了该项目,请确保检查您的 php.ini include_path 以确保 php 知道您需要的所有库。
还要查看index.php文件并确保 APPLICATION_PATH 常量对于新环境是正确的。它可能已更改以反映远程主机的要求。

于 2012-01-21T09:28:11.190 回答