Re: Blank Login Page

2008-06-10 Thread Sam Sherlock
try putting some $this-log('custom-login-debug', 'users_controller.php login...'); to trace what you've got happening. (not to flog a dead horse but auth is great for simple systems too) 2008/6/10 Arak Tai'Roth [EMAIL PROTECTED]: I know that auth isn't the same as ACL, but they can be used

Re: Blank Login Page

2008-06-10 Thread francky06l
As I understood, you can login and never been redirect (I mean you do not see the page should be redirected to) ? Is it for admin only, or can you see the /clients when not being admin ? If so it can be an admin problem routing. hth On Jun 10, 8:01 am, Sam Sherlock [EMAIL PROTECTED] wrote: try

Re: Blank Login Page

2008-06-10 Thread Filip Camerman
On my current dev machine CakePHP gives me a completely blank page without any indication of what went wrong whenever my view uses a non- defined variable. So replace your view with one that just says hello for a second and see if that gets printed; if so you know the prob.

Re: Blank Login Page

2008-06-10 Thread Arak Tai'Roth
Well, I do appreciate the help, and would love it if someone was able to fix this problem anyways for me. I think I might just switch to auth, I originally didn't use auth because I thought it was going to be more work, clearly that is no longer the case as I could have been done this had I used

Re: Blank Login Page

2008-06-10 Thread Arak Tai'Roth
Apparently it posted the second message I sent and not the first one, so here is the first one over again. @Sam I did what you asked, and it does indeed add the messages to the error log in every function, including the admin_index function, but I don't know how this helps me @francky061

Re: Blank Login Page

2008-06-10 Thread francky06l
Did you try to redirect to another controller/action not in admin route ? On Jun 10, 8:38 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote: Apparently it posted the second message I sent and not the first one, so here is the first one over again. @Sam I did what you asked, and it does indeed

Blank Login Page

2008-06-09 Thread Arak Tai'Roth
So. I have coded a login, using admin routing, to a backend administrative portion of my site. However when I actually login, all it shows is a blank page and it doesn't seem to be hitting my admin_index function in my controller. I was just wondering if anyone has any insight to this problem, I

Re: Blank Login Page

2008-06-09 Thread Sam Sherlock
$dbuser = $this-User-findByUsername($this-data['User'] ['username']); if (!empty($dbuser) ($dbuser['User']['password'] == sha1($this- data['User']['password']))) have you tried using auth? 2008/6/9 Arak Tai'Roth [EMAIL PROTECTED]: So. I have coded a

Re: Blank Login Page

2008-06-09 Thread Arak Tai'Roth
I wasn't sure if auth would work as easily for what I want later on, dealing with multiple groups of users. And yes I know about ACL, I just figured doing it this way now would save me micro management down the road. On Jun 9, 2:09 pm, Sam Sherlock [EMAIL PROTECTED] wrote: $dbuser =

Re: Blank Login Page

2008-06-09 Thread Dardo Sordi Bogado
I wasn't sure if auth would work as easily for what I want later on, dealing with multiple groups of users. And yes I know about ACL, I just figured doing it this way now would save me micro management down the road. Auth != ACL And yes, Auth will handle multiple groups of users just fine.

Re: Blank Login Page

2008-06-09 Thread Arak Tai'Roth
I know that auth isn't the same as ACL, but they can be used together for some pretty neat stuff in my opinion. I just had looked at auth and thought that because my needs are fairly simple (3 different groups of users, only 2 that need to be accounted for, and 1 will only have one user in it),