Tuesday, February 26, 2013

Re: CORE/cake/libs/model/db_acl.php, line 191

hi,

I am also facing a similar kind of problem.My errors are:

Notice (8): Undefined index: id [CORE/cake/libs/model/db_acl.php, line 157]
Code | Context
AclNode::node() - CORE/cake/libs/model/db_acl.php, line 157  AclBehavior::node() - APP/models/behaviors/acl.php, line 80  AclBehavior::afterSave() - APP/models/behaviors/acl.php, line 95  ModelBehavior::dispatchMethod() - CORE/cake/libs/model/model_behavior.php, line 171  BehaviorCollection::trigger() - CORE/cake/libs/model/model_behavior.php, line 495  Model::save() - CORE/cake/libs/model/model.php, line 1359  ConfigController::addMenu() - APP/controllers/config_controller.php, line 109  Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204  Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171  [main] - APP/webroot/index.php, line 85
Warning (2): Cannot modify header information - headers already sent by (output started at /opt/workspace/hr/cake_install/cake/libs/debugger.php:673) [CORE/cake/libs/controller/controller.php, line 746]

can anybody plzz help me.


On Thursday, October 29, 2009 2:54:47 PM UTC+5:30, Jeremy wrote:

Hi,

I'm trying to use ACL in my application, I have pretty much followed
this tutorial http://book.cakephp.org/view/641/Simple-Acl-controlled-Application
to get my application up and running, however, when I visit any of the
pages that are supposed to be protected, I get this error:

Warning (512): AclNode::node() - Couldn't find Aro node identified by
"Array
(
    [Aro0.model] => User
    [Aro0.foreign_key] => 1
)
" [CORE/cake/libs/model/db_acl.php, line 191]

Warning (512): AclNode::node() - Couldn't find Aro node identified by
"Array
(
    [Aro0.model] => Group
    [Aro0.foreign_key] => 1
)
" [CORE\cake\libs\model\db_acl.php, line 191]


Any help will be greatly appreciated. Thanks and happy holidays!

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: