Quantcast

Error: Class WidgetShell could not be loaded

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

Error: Class WidgetShell could not be loaded

raghava.kotekar

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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Error: Class WidgetShell could not be loaded

Steve Found
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
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Loading...