CakePHP'de konsol sorunu: yolunu ayarlamak mümkün değil

0 Cevap php

Ben konsolunu kullanarak CakePHP'de bir kontrolör (1.3) oluşturmak çalışıyorum. Ben Windows XP ve XAMPP kullanıyorum.

Aşağıda benim şimdiki pasta konsol ayarları

C: \ xampp \ htdocs pasta \ \ apressblog \ kek \ konsol> kek

♀ Welcome to CakePHP v1.3.4 Console --------------------------------------------------------------- Current Paths: -app: console -working: C:\xampp\htdocs\cake\apressblog\cake\console -root: C:\xampp\htdocs\cake\apressblog\cake -core: C:\xampp\htdocs\cake\apressblog

Changing Paths: your working path should be the same as your application path to change your path use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp

Available Shells: acl [CORE]
i18n [CORE]

api [CORE]
schema [CORE]

bake [CORE]
testsuite [CORE]

konsol [CORE]

To run a command, type 'cake shell_name [args]' To get help on a specific command, type 'cake shell_name help'

C: \ xampp \ htdocs pasta \ \ apressblog \ kek \ konsol>-app c:\xampp '-app' is not recognized as an internal or external command, operable program or batch file.

C: \ xampp \ htdocs pasta \ \ apressblog \ kek \ konsol>

what are the path settings I need to set for creating a controller from console ? I tried to change the app path but, when I type command cake It goes app directory to console,

0 Cevap