Ok..after looking here and there I got to know that I need to set
index in acos,aros tables. Even then it is taking more time. So
searched and found that it could be solved with cache. trying to
install these two links, but does not work for me.

http://bakery.cakephp.org/articles/Frank/2009/04/15/caching_acl_permissions_with_cachedaclcomponent
http://bakery.cakephp.org/articles/Frank/2009/03/27/efficient_caching_with_namespacefileengine

 That is, when i make a login, it is not getting redirected to the
specified page. I have placed those file in this path..

[path]\app\vendors\namespace_file.php
[path]\app\controllers\components\cached_acl.php

Any help?

On Sep 20, 2:57 pm, sathyashrayan <[email protected]> wrote:
> Group,
>   I used Alaxos ACL plugin found here..
>
> http://www.alaxos.net/blaxos/pages/view/plugin_acl
>
> In my project i have more than 165 actions and 55 controllers,
> including ADD, EDIT ect. When I clicked role wise permission in the
> plugin (admin/acl/aros/role_permissions) i get
>
> Fatal error: Maximum execution time of 60 seconds exceeded in [path]
> \cake\libs\model\datasources\dbo\dbo_mysql.php on line 600
>
> I know i could just use set_time_limit(0); in the action
> admin_role_permissions() of [path]\app\plugins\acl\controllers
> \aros_controller.php
>
> But when I went on commenting out some lines in that controller, i got
> the point where the execution exceeds the limit. If i am not wrong
> then it is on this line
>
>  $authorized = $this->Acl->check($role, $full_action); Line-258
>
> The I saw this function in core cakephp [path]\cake\libs\controller
> \components\acl.php on the 
> functionhttp://book.cakephp.org/view/1249/Checking-Permissions-The-ACL-Component
>
> I see two foreach after Set::extract() call. Can anyone point out
> where the execution exceeds the limit. Thanks for any help.

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to