Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zend framework : "A project profile was not found" zf version 1.11.7

I am trying to develop a project in zend framework. I have created a project gil using command line as follows then I entered to the project directory in command line and tried to create an action but I got an error as follows. I am using Windows XP and XAMPP and my Zend frameworks version is 1.11.7.

   C:\xampp\htdocs\zframework12>zf create project gil
    Creating project at C:/xampp/htdocs/zframework12/gil

    C:\xampp\htdocs\zframework12>cd gil

    C:\xampp\htdocs\zframework12\gil>zf create action add index
                           An Error Has Occurred
     A project profile was not found.

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


C:\xampp\htdocs\zframework12\gil>

Please help to sort out this issue

Thank you very much

like image 251
Thomas John Avatar asked Nov 13 '22 21:11

Thomas John


1 Answers

In the second prompt, you type: cd gil . So, you'll move in the gil directory. This directory doesn't contain the zf xml file called .zfproject.xml (hidden). You should type:

zf create action add index

In the root directory: C:\xampp\htdocs\zframework12

like image 117
bitfox Avatar answered Jan 20 '23 00:01

bitfox