othAuth, what next

2007-02-21 Thread peter stranney

Hi there, I have implemented othAuth and all is working fine. When I
log in it attemps to go to admin/index. After writing an
admin_controller stub it now complains about 'No Database table for
model Admin (expected admins)' I am a newbie to cakPHP and I have
looked though the manual. Could someone point me in the right
direction, I wish to fully implement this login system and so what
more must I develop?

Thanks for your time.

Best wishes,

Peter


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: othAuth, what next

2007-02-21 Thread Jon Bennett

 Hi there, I have implemented othAuth and all is working fine. When I
 log in it attemps to go to admin/index. After writing an
 admin_controller stub it now complains about 'No Database table for
 model Admin (expected admins)' I am a newbie to cakPHP and I have
 looked though the manual. Could someone point me in the right
 direction, I wish to fully implement this login system and so what
 more must I develop?

sounds like you need to enable 'admin' routing in /app/config/core.php

http://manual.cakephp.org/chapter/configuration

you could also change the location that you're redirecting to as that
sounds like the default that othAuth starts with (not sure how as I
don't use it).

hth

Jon

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---