Reputation: 6976
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 name 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
Upvotes: 0
Views: 923
Reputation: 60413
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/
Upvotes: 3