And remove this from your routes.php:

Router::connect('/admin', array('controller' => 'pages', 'action' =>
'index', 'admin' => true));

but leave

Configure::write('Routing.admin', 'admin');

uncommented in core.php



On Tue, Nov 24, 2009 at 3:24 PM, Dave <[email protected]> wrote:

> if the url is /admin/users/login then Cake will look for an action called
> "admin_login" in users_controller.php .  Change the name of the login
> function to this and let me know if that works.
>
> On Tue, Nov 24, 2009 at 12:28 PM, Dewayne Pinion <[email protected]>wrote:
>
>> I did not, but I tried uncommenting it and still got the same error.
>>
>>
>> On Tue, Nov 24, 2009 at 12:22 PM, josu jauregui <[email protected]> wrote:
>>
>>> Do you have uncommented line Configure::write('Routing.admin', 'admin');
>>> in core.php??
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Dewayne Pinion
>> Web/Software Guy
>> Trenton Technology
>> http://www.trentontechnology.com
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help
>> others with their CakePHP related questions.
>>
>> 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]<cake-php%[email protected]>For
>>  more options, visit this group at
>> http://groups.google.com/group/cake-php?hl=en
>>
>
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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