On Sunday, 20 May 2012 09:28:31 UTC+2, LiveJin wrote:
>
> Dear everyone:
> I am a newer to cakephp .I config the cakephp shell as the cakephp
> handbook says,when I run the HelloShell with the command cake
> Hello ,I got the error information as follows:
>
> Error: Shell class HelloShell could not be found.
> #0 G:\htdocs\cakedemo\lib\Cake\Console\ShellDispatcher.php(191):
> ShellDispatcher
> ->_getShell('hello')
> #1 G:\htdocs\cakedemo\lib\Cake\Console\ShellDispatcher.php(69):
> ShellDispatcher-
> >dispatch()
> #2 G:\htdocs\cakedemo\app\Console\cake.php(33):
> ShellDispatcher::run(Array)
> #3 {main}
>
> my cakephp version :
> Welcome to CakePHP v2.2.0-beta Console
> ---------------------------------------------------------------
> App : Console
> Path: G:\htdocs\cakedemo\app\Console\ <-
>
You aren't in your app dir - you don't ordinarily run cake _in_ the Console
dir:
cd ..
Console/cake
Ensure the Hello shell is listed before calling it.
AD
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php