Thanks for the tip. 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" <[email protected]> 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" <[email protected]> > To: "CakePHP" <[email protected]> > 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 [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 -~----------~----~----~----~------~----~------~--~---
