FAQ
I'm using CakePHP 2.0, and my command line cake settings as follows.
Surprisingly the command works fine in windwos environment


App : app
Path: /var/www/qa/app/
---------------------------------------------------------------
Current Paths:

-app: app
-working: /var/www/qa/app
-root: /var/www/qa
-core: /var/www/qa/lib

Available Shells:

acl [CORE] i18n [CORE]
acl_extras [AclExtras] schema [CORE]
api [CORE] template [app]
bake [CORE] testsuite [CORE]
command_list [CORE] upgrade [CORE]
console [CORE] widget [app]

I can able to see the widget [app] shell command listed above


When I run the following command

------------------------------------------------------
*webtools@local:/var/www/qa/app$* ./Console/cake widget
Error: Shell class WidgetShell could not be found.
#0 /var/www/qa/lib/Cake/Console/ShellDispatcher.php(167):
ShellDispatcher->_getShell('widget')
#1 /var/www/qa/lib/Cake/Console/ShellDispatcher.php(69):
ShellDispatcher->dispatch()
#2 /var/www/qa/app/Console/cake.php(41): ShellDispatcher::run(Array)
#3 {main}
#3 {main}


What could be the problem. I have gone through all the similar kind of issue
in forum. I couldn't find the answer.

I really appreciate your help in this.

--
View this message in context: http://cakephp.1045679.n5.nabble.com/Error-Class-WidgetShell-could-not-be-loaded-tp5708703.html
Sent from the CakePHP mailing list archive at Nabble.com.

--
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

Search Discussions

  • Ratty at Jun 13, 2012 at 10:27 pm
    Is widget some app that you have written ?

    As the display says, it is an app and not part of the cake core, so
    basically you would need to install it if it isn't installed. If it is
    installed on your system, is it compatible with Cake 2.0 ?

    On Tuesday, 12 June 2012 01:12:24 UTC+1, Kotekar wrote:

    I'm using CakePHP 2.0, and my command line cake settings as follows.
    Surprisingly the command works fine in windwos environment


    App : app
    Path: /var/www/qa/app/
    ---------------------------------------------------------------
    Current Paths:

    -app: app
    -working: /var/www/qa/app
    -root: /var/www/qa
    -core: /var/www/qa/lib

    Available Shells:

    acl [CORE] i18n [CORE]
    acl_extras [AclExtras] schema [CORE]
    api [CORE] template [app]
    bake [CORE] testsuite [CORE]
    command_list [CORE] upgrade [CORE]
    console [CORE] widget [app]

    I can able to see the widget [app] shell command listed above


    When I run the following command

    ------------------------------------------------------
    *webtools@local:/var/www/qa/app$* ./Console/cake widget
    Error: Shell class WidgetShell could not be found.
    #0 /var/www/qa/lib/Cake/Console/ShellDispatcher.php(167):
    ShellDispatcher->_getShell('widget')
    #1 /var/www/qa/lib/Cake/Console/ShellDispatcher.php(69):
    ShellDispatcher->dispatch()
    #2 /var/www/qa/app/Console/cake.php(41): ShellDispatcher::run(Array)
    #3 {main}
    #3 {main}


    What could be the problem. I have gone through all the similar kind of
    issue
    in forum. I couldn't find the answer.

    I really appreciate your help in this.

    --
    View this message in context:
    http://cakephp.1045679.n5.nabble.com/Error-Class-WidgetShell-could-not-be-loaded-tp5708703.html
    Sent from the CakePHP mailing list archive at Nabble.com.
    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcake-php @
categoriesphp
postedJun 12, '12 at 3:13a
activeJun 13, '12 at 10:27p
posts2
users2
websitecakephp.org
irc#cakephp

2 users in discussion

Ratty: 1 post Raghava.kotekar: 1 post

People

Translate

site design / logo © 2022 Grokbase