RE: Authorization adapter "actions" was not found.

2013-08-12 Thread Advantage+
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+  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+unsubscr...@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+unsubscr...@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+unsubscr...@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.




Re: Authorization adapter "actions" was not found.

2013-08-12 Thread Simon Males
Awfully vague.

What did you change?

On Tue, Aug 13, 2013 at 10:38 AM, Advantage+  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+unsubscr...@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+unsubscr...@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.




Authorization adapter "actions" was not found.

2013-08-12 Thread Advantage+
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+unsubscr...@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.




Re: Multilingual sites and 2 characters language code in URL

2013-08-12 Thread André Luis
My suggestion is to create a RouteClass to use with subdomains languages... 
ex: http://fr.example.com/products or http://us.example.com/products

Em terça-feira, 6 de agosto de 2013 04h27min45s UTC-3, 
her...@springcard.com escreveu:
>
> Hello,
>
> I'm creating a multiligual website with language code in the URL, for 
> example :
>
> http://www.example.com/*fre*/products
> or :
> http://www.example.com/*eng*/products
> or :
> http://www.example.com/*ita*/products
>
> Is there a way to use two letters for the language code ?
> *fr* instead of *fre*, *it* instead of *ita* and *en *for *eng *?
>
> Last thing, I'm using CakePhp 2.3.8.
>
> Thanks in advance.
>
>
>

-- 
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+unsubscr...@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.