Zend Framework problem creating actions through command line
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/
精彩评论