Cakephp Acl错误

时间:2011-05-29 14:42:39

标签: cakephp acl

我尝试使用alaxos acl插件来研究Acl代码
我收到了错误

Warning (512): AclNode::node() - Couldn't find Aro node identified by "Array
(
    [Aro0.model] => Group
    [Aro0.foreign_key] => admin
)
" [CORE\cake\libs\model\db_acl.php, line 191]
Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.  Node         references:
Aro: Array
(
   [User] => Array
    (
        [id] => 76
        [username] => tttttt
        [group_id] => admin
        [active] => 1
        [activation_code] => 
        [widget_count] => 
        [lastvisit] => 
    )

)

Aco: Users/add [CORE\cake\libs\controller\components\acl.php, line 273]
Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\cakephp\cake\libs\debugger.php:673) [CORE\cake\libs\

My Db picture here
User and Group Model
谢谢你的回答

1 个答案:

答案 0 :(得分:1)

您应该在数据库中设置基本需求数据 对于acl组件正常工作非常重要