AuthComponent error only in a remote linux server

Showing 1-4 of 4 messages
AuthComponent error only in a remote linux server Andre Fuhrman 11/25/11 9:17 AM
Hi,

I'm ending my first cake application but when a moved it to my remote
server a internal error happened. In my wamp local server, works
without issue.

This error happens only when i tried to access the /admin area that
was setup to verify if the user belong to a administrative group, i
didn't use ACL component.

Im copy and paste the error below, do have anybody a clue why this is
happen?


Authorization adapter "controller" was not found.


Error: An Internal Error Has Occurred.
Stack Trace
#0 /home/um2web/12web.com.br/visaorural/lib/Cake/Controller/Component/
AuthComponent.php(376): AuthComponent->constructAuthorize()
#1 /home/um2web/12web.com.br/visaorural/app/Controller/
AppController.php(21): AuthComponent->isAuthorized()
#2 /home/um2web/12web.com.br/visaorural/lib/Cake/Controller/
Controller.php(554): AppController->beforeFilter()
#3 /home/um2web/12web.com.br/visaorural/lib/Cake/Routing/
Dispatcher.php(138): Controller->startupProcess()
#4 /home/um2web/12web.com.br/visaorural/lib/Cake/Routing/
Dispatcher.php(102): Dispatcher->_invoke(Object(PainelsController),
Object(CakeRequest))
#5 /home/um2web/12web.com.br/visaorural/app/webroot/index.php(80):
Dispatcher->dispatch(Object(CakeRequest))
#6 {main}

Thank you,
André

Re: AuthComponent error only in a remote linux server sams 11/26/11 10:00 AM

Check that the files uploaded correctly.

Clear the files from the tmp too.

- S

--
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
cake-php+u...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: AuthComponent error only in a remote linux server Petrisor Buga 11/26/11 11:02 PM
please check here https://groups.google.com/group/cake-php/browse_thread/thread/8f42a8e6cae9a2ff
i had a problem similar, might help you (i am using cake 2.0.3)

On Nov 26, 8:00 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> Check that the files uploaded correctly.
>
> Clear the files from the tmp too.
>
> - S
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help

> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+u...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php

Re: AuthComponent error only in a remote linux server Andre Fuhrman 11/27/11 4:38 PM
Hi, i found the problem, was a CamelCased mistake,

instead write $this->Auth->authorize = 'Controller'; i wrote $this-
>Auth->authorize = 'controller'. In windows works ok, but in Linux
not.

Thank you
Andre Fuhrnan
--
Um Dois Web
www.12web.com.br
con...@12web.com.br
(11) 3509-2926

On 27 nov, 05:02, Petrisor Buga <petri...@theworkshop.ro> wrote:
> please check herehttps://groups.google.com/group/cake-php/browse_thread/thread/8f42a8e...