i use cakephp(v1.3.7) ACL i have this error: Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references: Aro: Array ( [User] => Array ( [id] => 1 [username] => root [group_id] => 1 [created] => 2011-02-01 07:19:20 [modified] => 2011-02-01 07:50:36 )
) Aco: Pages/display [CORE\cake\libs\controller\components\acl.php, line 273] Code | Context if (empty($aroPath) || empty($acoPath)) { trigger_error(__("DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:\nAro: ", true) . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING); $aro = array( "User" => array( "id" => "1", "username" => "root", "group_id" => "1", "created" => "2011-02-01 07:19:20", "modified" => "2011-02-01 07:50:36" ) ) $aco = "Pages/display" $action = "*" $permKeys = array( "_create", "_read", "_update", "_delete" ) $aroPath = array( array( "Aro" => array() ), array( "Aro" => array() ) ) $acoPath = false DbAcl::check() - CORE\cake\libs\controller\components\acl.php, line 273 AclComponent::check() - CORE\cake\libs\controller\components\acl.php, line 92 AuthComponent::isAuthorized() - CORE\cake\libs\controller\components \auth.php, line 527 AuthComponent::startup() - CORE\cake\libs\controller\components \auth.php, line 445 Component::triggerCallback() - CORE\cake\libs\controller \component.php, line 186 Controller::startupProcess() - CORE\cake\libs\controller \controller.php, line 523 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 187 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171 [main] - APP\webroot\index.php, line 83 Warning (2): Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\cakeacl\cake\libs\debugger.php: 673) [CORE\cake\libs\controller\controller.php, line 742] Code | Context $status = "Location: http://localhost/cakeacl/users/login" header - [internal], line ?? Controller::header() - CORE\cake\libs\controller\controller.php, line 742 Controller::redirect() - CORE\cake\libs\controller\controller.php, line 721 AuthComponent::startup() - CORE\cake\libs\controller\components \auth.php, line 450 Component::triggerCallback() - CORE\cake\libs\controller \component.php, line 186 Controller::startupProcess() - CORE\cake\libs\controller \controller.php, line 523 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 187 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171 [main] - APP\webroot\index.php, line 83 how can i fix it? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php