place it in your app
mine looks like this
https://github.com/cakephp/cakephp/blob/2.1/app/Console/Command/AppShell.php
notice `App::uses('Shell', 'Console');`
for me on its working as the book informs
- S
On 4 February 2012 20:59, heohni <heidi.anselstetter@consultingteam.de> wrote:
sorry:
error was: D:\SVN-Homes\PHP\trunk\cake2.1\lib\Cake\Console\Command
\BakeShell.php on line 36
and I copied the AppShell.php from
D:\SVN-Homes\PHP\trunk\cake2.1\app\Console\Command\AppShell.php
to
D:\SVN-Homes\PHP\trunk\cake2.1\lib\Cake\Console\Command\AppShell.php
But I stll get the same error...
On 4 Feb., 21:45, heohni <heidi.anselstet...@consultingteam.de> wrote:
> Even with this:
> // app/Console/Command/AppShell.php
> //App::uses('Shell', 'Console');
> App::uses('Shell', 'Console/Command');
>
> I get still the same error on 'cake bake'
>
> On 4 Feb., 20:45, euromark <dereurom...@googlemail.com> wrote:
>
>
>
>
>
>
>
> > although the last one (Shell) seems to be wrong in the book!
>
> > it is supposed to be now:
>
> > App::uses('Shell', 'Console/Command');
> > class AppShell extends Shell {}
>
> > On 4 Feb., 20:44, euromark <dereurom...@googlemail.com> wrote:
>
> > > but that's actually documented:http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html
>
> > > On 4 Feb., 20:43, euromark <dereurom...@googlemail.com> wrote:
>
> > > > AppShell as well as AppController, AppModel etc is required to be
> > > > placed in your app now.
> > > > so it must exist there (/APP/Console/Command/AppShell.php) and doesnt
> > > > fall back to the core one anymore
>
> > > > On 4 Feb., 20:38, heohni <heidi.anselstet...@consultingteam.de> wrote:
>
> > > > > Hi,
>
> > > > > after downloading the V2.1 and calling first time the 'cake bake' in
> > > > > the console I get this error:
> > > > > PHP Fatal error: Class 'AppShell' not found in D:\SVN-Homes\PHP\trunk
> > > > > \cake2.1\l
> > > > > ib\Cake\Console\Command\BakeShell.php on line 36
>
> > > > > If I do the same with the V2.04 all works fine from folder /cake2/
> > > > > And of course I changed the PATH variable...
>
> > > > > Does anybody discovered the same?
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment