Note that there are some explanatory texts on larger screens.

plurals
  1. POcakephp console doesn't find shell dispite it's showed available
    text
    copied!<p>I have a multi apps installation of cakephp 2.2. I'am unable to make any shell works:</p> <p>Error msg:</p> <pre><code>patron@serveur01linux:/cakeapps/developpement/Console$ bash cake hello Error: Shell class HelloShell could not be found. #0 /cakephp/2.2/lib/Cake/Console/ShellDispatcher.php(191): ShellDispatcher-&gt;_getShell('hello') #1 /cakephp/2.2/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher-&gt;dispatch() #2 /cakeapps/developpement/Console/cake.php(36): ShellDispatcher::run(Array) #3 {main} </code></pre> <p>Welcome screen:</p> <pre><code>Welcome to CakePHP v2.2.3 Console --------------------------------------------------------------- App : developpement Path: /cakeapps/developpement/ --------------------------------------------------------------- Current Paths: -app: developpement -working: /cakeapps/developpement -root: /cakeapps -core: /cakephp/2.2/lib Changing Paths: Your working path should be the same as your application path to change your path use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp Available Shells: [CORE] acl, api, bake, command_list, console, i18n, schema, test, testsuite, upgrade [app] chaine, client, hello To run an app or core command, type cake shell_name [args] To run a plugin command, type cake Plugin.shell_name [args] To get help on a specific command, type cake shell_name --help </code></pre> <p>As you can see, I work and I'm in the right folder app (/cakeapps/developpement), the core path is where the core is installed (/cakephp/2.2/lib) and the welcome screen show me my available shell. But, I keep get this error above. </p> <p>Where could be the problem?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload