https://github.com/cakedc/users/tree/2.0
提取 cakedc 用户插件后,我将其复制到 app/Plugin 文件夹。
我运行了这个命令并得到了错误:
cake migration all -plugin users
为什么会出现这个错误?这是 cakephp-2.0,在提取用户插件后,我看到文件夹的约定就像 cakehp-1.3
Error: Shell class MigrationShell could not be found.
#0 /var/www/cakephp/lib/Cake/Console/ShellDispatcher.php(167): ShellDispatcher->_getShell('migration')
#1 /var/www/cakephp/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch()
#2 /var/www/cakephp/lib/Cake/Console/cake.php(24): ShellDispatcher::run(Array)
#3 {main}
我怎样才能安装这个用户插件并使用它?