i am a cakephp beginner , have not much exposure to cakephp.
I have followed installation step for Alaxos ACL plugin foe cakephp 2.0 from -alaxos site .. there second step is configuring admin routing .
that i have done by adding
Router::connect('/admin/acl', array('plugin' => 'acl', 'controller' => 'acl', 'action' => 'admin_index', 'admin' => true));
to my Cake/Routing/Router.php file and configuring app/Config/core.php: by adding following line
Configure::write('Routing.prefixes', array('admin'));
i am not sure whether this is the correct way of doing it…
On accessing the plugin http://localhost/cakeacl/admin/acl it gives error
**Private Method in AclController
Error: AclController::admin_index() cannot be accessed directly.**
Please help me ..Thanks in advance…
try to put only the following in the
app/Config/core.phpand remove the Router configurations.Configure::write('Routing.prefixes', array('admin'));