If you have enabled Cake Admin Routing, when you navigate to 
www.mysite.com/admin
Cake expects you to be trying to perform an Admin action within one of
your controllers. So if you had a Posts controller and an action
admin_delete in it, if you browsed to www.mysite.com/admin/posts/delete
then Cake would route you to the admin_delete action in your Posts
controller.

The reason you are seeing the error in your post above is because you
have not provided a controller/admin_action pair for the Cake Admin
Route to work with - in essence you have provided a blank controller
name which is what the error is saying.

If you want an admin page for your website, then you would need to add
a route in routes.php to point /admin to some or other controller
which will contain all your admin functions. i.e. Router::connect('/
admin', array('controller' => 'siteAdmin', 'action' => 'index'));

Then all requests to www.mysite.com/admin will go to the siteAdmin
controller, while all requests to 
www.mysite.com/admin/controllerName/adminAction
will still be routed to the relevant controller/admin_action pair.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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