ZF-12088: Unable to add new controller.

Description

-> Getting error message when trying to add a new controller

My project name is workshop Opened terminal & changed directory to the projects ( Say cd /home/shinu/projects/php/workshop ) Then I tried to create a new controller using the tool " zf create controller Auth " But its displaying an error message like the below

An Error Has Occurred
A project profile was not found.

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

can anybody please help me to fix this problem , I'm using Linux Mint OS

Comments

Did you create your ZF project using {{zf create project}}? If not, your source folder will not have the necessary {{.zfproject.xml}} file and you will get the above error. Manual page: http://framework.zend.com/manual/en/…