On Sun, Feb 8, 2009 at 10:52 AM, fain182 <[email protected]> wrote:
> I am trying to use IniAcl, but after a lot of attempts, it gives me
> always the same error...
>
> in cake/libs/controller/components/acl.php at line 490:
>        if (isset($aclConfig[$aro]['deny'])) {
>
> but $aro is an array, so it gives error:
> Warning (2): Illegal offset type
> [COREcake/libs/controller/components/acl.php, line 490]

while i was looking for the problem, i discovered that in acl.php at line 82:
  * @param string $aro ARO
so, there is a problem in tha cakephp code, I suppose... no one can help me?
thank you
pietro

> what should I do?
> add a simple: $aro = $aro['User']['username']  ?
>
> this is the complete page of errors, with code and context:
> http://bin.cakephp.org/view/454637866
>
>
> pietro
>
> PS. sorry for my bad english...
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to