I am new to the cakePHP and first starting to bake so I face this problem when following a tutorial and do the following:
- Add paths to php and cakePHP
- Run the CMD and type "cake" and get the following message:
Welcome to CakePHP v2.2.3 Console --------------------------------------------------------------- App : C: Path: C:\ --------------------------------------------------------------- Current Paths: -app: C: -working: C: -root: C: -core: C:\xampp\cake\lib Changing Paths: Your working path should be the same as your application path to change your pat h use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp Available Shells: [CORE] acl, api, bake, command_list, console, i18n, schema, test, testsuite, upg rade To run an app or core command, type cake shell_name [args] To run a plugin command, type cake Plugin.shell_name [args] To get help on a specific command, type cake shell_name --help
3.I type in the path where the app that's being developed is saved, that is:
C:\xampp\htcdocs\blogI have tried to add all possible paths like C:...blog\app, C:...blog\app\console, C:...blog\lib\cake\console, but I still get the message that the system cannot find the path specified.
I have been looking for the solution for couple of hours now and could only find it for the previous versions of cakePHP or any other OS but Windows 7.