2010-02-15 109 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