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\\
我的Db图片在这里 用户和组模型 谢谢回答     

解决方法

        您应该在数据库中设置基本需求数据 ACL组件正常工作很重要     

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...