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
-~----------~----~----~----~------~----~------~--~---

Reply via email to