Shell Cakephp3外壳等级,适用于;“排队”;找不到
Hi在cakephp3和我的笔记本电脑上有一个外壳,它运行良好,做了预期的事情(使用的行/Applications/MAMP/htdocs/page/bin/cake queue) 然后我将everting推送到ubuntu中的服务器,更新composer,调试设置为true,并运行/var/www/html/api/bin/cake queue 这是我收到的:Shell Cakephp3外壳等级,适用于;“排队”;找不到,shell,cakephp,cakephp-3.0,Shell,Cakephp,Cakephp 3.0,Hi在cakephp3和我的笔记本电脑上有一个外壳,它运行良好,做了预期的事情(使用的行/Applications/MAMP/htdocs/page/bin/cake queue) 然后我将everting推送到ubuntu中的服务器,更新composer,调试设置为true,并运行/var/www/html/api/bin/cake queue 这是我收到的: <? namespace App\Shell; use Cake\Console\Shell; use Cake\Mailer
<?
namespace App\Shell;
use Cake\Console\Shell;
use Cake\Mailer\Email;
class QueueShell extends Shell
{
public function initialize()
...
...
...
}
}Exception: Shell class for "Queue" could not be found. in [/var/www/html/api/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php, line 295]
有人建议服务器中可能缺少什么,或者需要更改什么
提前感谢你确定你已经启用了吗?或者更好:为什么不使用正确的
你是对的-\u-我在所有剩余的代码中使用正确的你确定你已经启用了吗?或者更好:为什么不使用正确的你是对的-\u-我在所有剩余的代码中使用正确的
Welcome to CakePHP v3.2.4 Console
---------------------------------------------------------------
App : src
Path: /var/www/html/api/src/
PHP : 5.5.9-1ubuntu4.14
---------------------------------------------------------------
Current Paths:
* app: src
* root: /var/www/html/api
* core: /var/www/html/api/vendor/cakephp/cakephp
Available Shells:
[Bake] bake
[DebugKit] benchmark, whitespace
[Migrations] migrations
[CORE] i18n, orm_cache, plugin, routes, server
[app] console, queue
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`