未找到名为 EntityManger 的操作助手
刚刚开始使用 zend 框架构建应用程序。我正在使用 zend server 5.5。当我尝试打开我创建的第一个控制器时,收到以下错误消息:
Application Error
Message: Action Helper by name EntityManager not found
Stack trace:
#0 c:\Program Files (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Controller\Action\HelperBroker.php(293): Zend_Controller_Action_HelperBroker::_loadHelper('EntityManager')
...
我的猜测是我缺少一个库,但我不确定是哪个库。有人知道吗?
Just started building an app with the zend framework. I've working on a zend server 5.5. When I try to open the first controller I created, I get the following error message:
Application Error
Message: Action Helper by name EntityManager not found
Stack trace:
#0 c:\Program Files (x86)\Zend\ZendServer\share\ZendFramework\library\Zend\Controller\Action\HelperBroker.php(293): Zend_Controller_Action_HelperBroker::_loadHelper('EntityManager')
...
My guess is that I'm missing a library, but I'm not sure which one. Anyone know?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在哪里注册助手?
您是否在 Boostrap 或 application.ini 中注册助手?
帮手在哪里?请尝试提供更多相关信息。
无论如何,看起来您正在使用标准设置,因此您必须向 Action Helper Broker 注册 /path/to/your/helper。
有关详细信息,请查看文档
Where do you register the Helper?
Do you register the helper in the Boostrap or in the application.ini?
Where is the helper located? Please try to give more information concering that.
Anyways, it looks like you are using a standard setup, so you have to register the /path/to/your/helper with the Action Helper Broker.
For indepth information check the documentation
检查辅助文件的类名。名字一定是这样的:
这对我有用。
Check the class name of your helper file. The name must be something like this:
This had worked for me.