2010-02-15 110 views
0

我使用ubunto &要创建的Zend控制器,7个月前,我创造了我的应用程序&约5个控制器,它工作正常,但是当我现在尝试创建使用创建的Zend控制器

[email protected]:/var/www/vcred$ zf.sh create controller verifier 

它展示一个又一个错误信息,如:

An Error Has Occurred 

字符串不能解析为XML

Command Line Console Tool v1.8.4 
Details for action "Create" and provider "Controller" 
    Controller 
    zf create controller name index-action-included[=1] module 

请帮忙。

+0

您不需要使用Zend_Tool。您可以随时手动添加控制器。 – Htbaa 2010-02-16 13:06:08

回答

2

老派方法:手动添加新的控制器文件到目录 - 我从来没有使用过Zend_Tool。

+0

+1我有一个空白的控制器模板,其中包含一些常规方法,因此我可以编辑名称并在需要时复制并粘贴,以便手动创建新的控制器。 – 2010-02-16 16:10:06