Quantcast

2.1 Console: Class 'AppShell' not found

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

2.1 Console: Class 'AppShell' not found

heohni
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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

euromark (munich)
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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

euromark (munich)
but that's actually documented:
http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html

On 4 Feb., 20:43, euromark <[hidden email]> 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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

euromark (munich)
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

heohni
In reply to this post by euromark (munich)
But the file is there!
D:\SVN-Homes\PHP\trunk\cake2.1\app\Console\Command\AppShell.php

??

On 4 Feb., 20:43, euromark <[hidden email]> 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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

heohni
In reply to this post by euromark (munich)
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

heohni
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

Sam Sherlock
remove the copy from the cake lib
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email] 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

euromark (munich)
@sam
yeah, you are right
the `Shell` still is in Console
but the AppShell has moved to Console/Command

:) ok, now thats sorted out - thx


On 5 Feb., 02:26, Sam Sherlock <[hidden email]> wrote:

> remove the copy from the cake lib
> place it in your app
> mine looks like thishttps://github.com/cakephp/cakephp/blob/2.1/app/Console/Command/AppSh...
>
> notice `App::uses('Shell', 'Console');`
>
> for me on its working as the book informs
>  - S
>
> On 4 February 2012 20:59, heohni <[hidden email]>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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > 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 sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [hidden email] For more options, visit this group
> > athttp://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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

heohni
In reply to this post by Sam Sherlock
The only place where I have now the AppShell.php is here:
D:\SVN-Homes\PHP\trunk\cake2.1\app\Console\Command\AppShell.php

Like it was before when I downloaded the V2.1 and extracted it.
But I still get the same error on 'cake bake'

So please, what wrong with me?



On 5 Feb., 02:26, Sam Sherlock <[hidden email]> wrote:

> remove the copy from the cake lib
> place it in your app
> mine looks like thishttps://github.com/cakephp/cakephp/blob/2.1/app/Console/Command/AppSh...
>
> notice `App::uses('Shell', 'Console');`
>
> for me on its working as the book informs
>  - S
>
> On 4 February 2012 20:59, heohni <[hidden email]>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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > 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 sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [hidden email] For more options, visit this group
> > athttp://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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

euromark (munich)
thats a damn good question^^

but besides that - I just had to do the very same thing with a fresh
2.1 and a new app
bake complained about the missing file
I created it in the same location just like you did. and everything
worked. in less than 1 minute.

so it might still be wrong what you put into that file
after all the docs are correct about what to put in it.



On 5 Feb., 16:08, heohni <[hidden email]> wrote:

> The only place where I have now the AppShell.php is here:
> D:\SVN-Homes\PHP\trunk\cake2.1\app\Console\Command\AppShell.php
>
> Like it was before when I downloaded the V2.1 and extracted it.
> But I still get the same error on 'cake bake'
>
> So please, what wrong with me?
>
> On 5 Feb., 02:26, Sam Sherlock <[hidden email]> wrote:
>
>
>
>
>
>
>
> > remove the copy from the cake lib
> > place it in your app
> > mine looks like thishttps://github.com/cakephp/cakephp/blob/2.1/app/Console/Command/AppSh...
>
> > notice `App::uses('Shell', 'Console');`
>
> > for me on its working as the book informs
> >  - S
>
> > On 4 February 2012 20:59, heohni <[hidden email]>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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > > 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 sitehttp://ask.cakephp.organdhelp
> > > others with their CakePHP related questions.
>
> > > To unsubscribe from this group, send email to
> > > [hidden email] For more options, visit this group
> > > athttp://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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 2.1 Console: Class 'AppShell' not found

Sam Sherlock
AppShell back in core
http://cakephp.lighthouseapp.com/projects/42648/tickets/2546-appshellphp-missing-in-cake21

 - S




On 5 February 2012 15:20, euromark <[hidden email]> wrote:
thats a damn good question^^

but besides that - I just had to do the very same thing with a fresh
2.1 and a new app
bake complained about the missing file
I created it in the same location just like you did. and everything
worked. in less than 1 minute.

so it might still be wrong what you put into that file
after all the docs are correct about what to put in it.



On 5 Feb., 16:08, heohni <[hidden email]> wrote:
> The only place where I have now the AppShell.php is here:
> D:\SVN-Homes\PHP\trunk\cake2.1\app\Console\Command\AppShell.php
>
> Like it was before when I downloaded the V2.1 and extracted it.
> But I still get the same error on 'cake bake'
>
> So please, what wrong with me?
>
> On 5 Feb., 02:26, Sam Sherlock <[hidden email]> wrote:
>
>
>
>
>
>
>
> > remove the copy from the cake lib
> > place it in your app
> > mine looks like thishttps://github.com/cakephp/cakephp/blob/2.1/app/Console/Command/AppSh...
>
> > notice `App::uses('Shell', 'Console');`
>
> > for me on its working as the book informs
> >  - S
>
> > On 4 February 2012 20:59, heohni <[hidden email]>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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > > 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 sitehttp://ask.cakephp.organdhelp
> > > others with their CakePHP related questions.
>
> > > To unsubscribe from this group, send email to
> > > [hidden email] For more options, visit this group
> > > athttp://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
[hidden email] 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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Loading...