Its not a bug, you have to uncomment the define('CAKE_ADMIN')
definition. Once you do that, your problem will be gone.On Jun 17, 6:13 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote: > I tried to run cake.php bake -app demoapp to generate some demoapp but > get the following error when tried! > > The model generated fine but the C and V are not! > > PHP Fatal error: Call to undefined function: __addadminroute() in / > home/htdocs/cake_1.2.0.5146alpha/cake/console/libs/tasks/view.php on > line 102 > PHP Fatal error: Call to undefined function: __addadminroute() in / > home/htdocs/cake_1.2.0.5146alpha/cake/console/libs/tasks/ > controller.php on line 142 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
