Saturday, July 4, 2009

Baking. First day at cake

Hopefully someone can help me. I am trying to follow the acl tutorial,
and due to my lack of experience with CAKE have come to a standstill.
I have no prior knowledge of putty or other things like that, so as
you can imagine, it has been quite a learning curve. I have dabbled in
other frameworks such as CodeIgniter with a reasonible amount of
success.

When I call mycakeapp/cake/console/libs/bake.php I get the following
error.


Fatal error: Class bakeshell: Cannot inherit from undefined class
shell in /var/www/www.softselect.de/www-data/live/cake/mycakeapp/cake/
console/libs/bake.php

I read that that was because my paths weren't defined correctly, but
where can I define them? I looked in the config files to no avail. I'm
not sure if I should be amending on the the "Current Paths" below, and
would appreciate any help!

Thanks,
Taff

Welcome to CakePHP v1.2.1.8004 Console
---------------------------------------------------------------
Current Paths:
-app: app
-working: /path/to/cake/mycakeapp/app
-root: /path/to/cake/mycakeapp
-core: /path/to/cake/mycakeapp

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:

CORE/app/vendors/shells:
- none

CORE/vendors/shells:
- none

CORE/cake/console/libs:
acl
api
bake
console
i18n
schema
testsuite

To run a command, type 'cake shell_name [args]'
To get help on a specific command, type 'cake shell_name help'
softselect@softselect:~/path/to/cake/mycakeapp/cake/console$
cake bake help
-bash: cake: command not found
softselect@softselect:~/path/to/cake/mycakeapp/cake/console$

Fatal error: Class bakeshell: Cannot inherit from undefined class
shell in /path/to/cake/mycakeapp/cake/console/libs/bake.php

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: