https://github.com/cakedc/users/tree/2.0
提取cakedc用戶插件後,我將其複製到app/Plugin文件夾。CakeDC用戶插件:我如何安裝cakedc用戶插件,我已閱讀文檔
我跑這個命令並得到了錯誤:
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}
如何安裝這個插件的用戶,並使用它?
我在引導文件中加載,CakePlugin :: LOADALL(); ,仍然有相同的錯誤, – shibly