简体   繁体   English

Zend Framework尝试启用模块时抛出错误

[英]Zend Framework is throwing an error when trying to enable modules

I am new to zend Framework. 我是zend Framework的新手。 I am trying to enable the module functionality, but when i try to do it using the command line i get the following error message: 我正在尝试启用模块功能,但是当我尝试使用命令行来执行此操作时,出现以下错误消息:

An Error Has Occurred 发生了错误
Dispatcher error - actionable method not found 调度程序错误-找不到可行的方法

The command i am using is the following: /zf.sh enable module 我正在使用的命令如下:/zf.sh启用模块

If anybody can help i would be very thankful. 如果有人可以帮助我,我将非常感激。

thank you. 谢谢。 Miguel 米格尔

did you add the following lines in application.ini 您是否在application.ini中添加了以下几行

(resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.modules = "" ) (resources.frontController.moduleDirectory = APPLICATION_PATH“ / modules” resources.modules =“”)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM