开发者

Zend Framework problem creating actions through command line

开发者 https://www.devze.com 2022-12-18 00:03 出处:网络
I am trying to create actions in my project by using, zf create action add edit however my command line outputs this message,

I am trying to create actions in my project by using,

zf create action add edit

however my command line outputs this message,

                           An Error Has Occurred                            
 A project profile was not found.                                       

Zend Framework Command Line Console Tool v1.9.7
Details for action "Create" and provider "Action"
  Action
    zf create action nam开发者_开发技巧e controller-name[=index] view-included[=1] module

I am running, Zend Framework 1.9 on Max OSX 10.6.2, does any one know how to solve this problem?

Thanks


Did you create your project with the commandline tool as well? If not this is likeley the problem as using the tool requires an up-to-date .zfproject.xml file in the projects directory.

// example project sturcture

project-folder/
  .zfproject.xml
  application/
  library/
  public/
0

精彩评论

暂无评论...
验证码 换一张
取 消