I uncomment out that like in config/core.php and rerun the cake bake -
app demoap but still getting the same error as before.

Please let me know if there is some other file that I need to un-
comment out so that it will work like yours.

Thanks

On Jun 17, 7:16 pm, Ketan Patel <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to