I went back to try that, and it was magically working, except that my
ACO table was empty.
Anywho... it's all working now. But next time I run into that, I'll
give your suggestion a try.
On Feb 21, 1:21 pm, "Adam Royle" <a...@sleekgeek.com.au> wrote:
> Try debugging by putting logging statements in your code step by step and
> see what you get.
>
> $this->log('yayaya');
>
> And you can check them inside app/tmp/logs/
>
> Cheers,
> Adam
>
> ----- Original Message -----
> From: "benjam" <benjamwel...@gmail.com>
> To: "CakePHP" <cake-php@googlegroups.com>
> Sent: Saturday, February 21, 2009 8:15 PM
> Subject: Debug off denies access to login page
>
> > I have a site that uses ACL and Auth to control access to the admin
> > portion of the site, as well as one other non-admin page.
>
> > When I have debug set to 2, I can log in and access the admin fine,
> > and when I'm logged off, it blocks everything as it should.
>
> > When I turn debugging off, and try to access the admin section, it
> > redirects me to the login page (as it should), but then gives me a 404
> > on the login page.
>
> > I don't have any debug specific code anywhere, so I can't seem to put
> > my finger on why this may be happening. And the real kicker is, it
> > only happens when debug is off, so I can't debug it.
>
> > Any ideas as to why this may be happening?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment