Zend framework: "Project profile not found" zf version 1.11.7

I am trying to develop a project as part of zend. I created the gil project using the following command line, after which I entered the project directory on the command line and tried to create an action, but received the following error. I use Windows XP and XAMPP, and my version of the Zend framework 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 deal with this problem.

Many thanks

+5
source share
4 answers

At the second prompt, type: cd gil. So, you will go to the gil directory. This directory does not contain a zf xml file named .zfproject.xml (hidden). You must enter:

zf create action add index

: C:\xampp\htdocs\zframework12

+3

, , hiden .zfproject.xml. "create project newname" .

0

zf 1.12.9.

zf1 enable layout .

, .

0

zf.bat "gil"

-2

All Articles