我一直在用 CakePHP 框架搞砸。我已经完成了这部分:http ://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/part-two.html 我已经下载了插件并放置它进入插件文件夹这是我的插件文件夹的样子(C:\xampp\htdocs\nublet\app\plugin)
-AclExtras(DIR) -AclExtrasShell.php (FILE) --Console(DIR) ---Command(DIR) ----AclExtrasShell.php (FILE)
现在这就是我尝试运行命令时所说的内容。
C:\>cake AclExtras.AclExtras aco_sync
Error: Plugin AclExtras could not be found.
#0 C:\xampp\htdocs\Nublet\lib\Cake\Core\App.php(364): CakePlugin::path('AclExtra
s')
#1 C:\xampp\htdocs\Nublet\lib\Cake\Core\App.php(225): App::pluginPath('AclExtras
')
#2 C:\xampp\htdocs\Nublet\lib\Cake\Core\App.php(542): App::path('Console/Command
', 'AclExtras')
#3 [internal function]: App::load('AclExtrasShell')
#4 [internal function]: spl_autoload_call('AclExtrasShell')
#5 C:\xampp\htdocs\Nublet\lib\Cake\Console\ShellDispatcher.php(216): class_exist
s('AclExtrasShell')
#6 C:\xampp\htdocs\Nublet\lib\Cake\Console\ShellDispatcher.php(167): ShellDispat
cher->_getShell('AclExtras.AclEx...')
#7 C:\xampp\htdocs\Nublet\lib\Cake\Console\ShellDispatcher.php(69): ShellDispatc
her->dispatch()
#8 C:\xampp\htdocs\Nublet\app\Console\cake.php(33): ShellDispatcher::run(Array)
#9 {main}
试过这个: https ://github.com/markstory/acl_extras/issues/8 http://stackoverflow.com/questions/9887895/cakephp-2-1-authentication-aclextras-does-not-populate-acos-table
我能做些什么?
问候,伤害。