Monday, August 12, 2013

RE: Authorization adapter "actions" was not found.

On localhost it shows no errors.

Uploaded to server, login to admin and that's all that shows.

Authorization adapter "actions" was not found.

Error: An Internal Error Has Occurred.
Stack Trace

CORE/Cake/Controller/Component/AuthComponent.php line 409 →
AuthComponent->constructAuthorize()

$request = $this->request;
}
if (empty($this->_authorizeObjects)) {
$this->constructAuthorize();
}

CORE/Cake/Controller/Component/AuthComponent.php line 336 →
AuthComponent->isAuthorized(array)

$controller->redirect(null, 403);
}

if (empty($this->authorize) ||
$this->isAuthorized($this->user())) {
return true;

AppController :

$this->Auth->authorize = 'Controller';
$this->Auth->authorize = 'actions';


Dave

-----Original Message-----
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Simon Males
Sent: Tuesday, August 13, 2013 12:11 AM
To: cake-php@googlegroups.com
Subject: Re: Authorization adapter "actions" was not found.

Awfully vague.

What did you change?

On Tue, Aug 13, 2013 at 10:38 AM, Advantage+ <movepixels@gmail.com> wrote:
> I am getting this error and never seen it before.
>
>
>
> I seen Authorization adapter "controllers" was not found. And simply
> had to change it to upper case.
>
>
>
> But cannot seem to find the answer to this issue.
>
>
>
> Any ideas?
>
>
>
> Dave
>
>
>
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Simon Males

--
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.
For more options, visit https://groups.google.com/groups/opt_out.



--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: