Hi Chris,

Thanks for your input. As I mentioned we've been updating the core
from the 1.2.x branch in the SVN quite regularily and without major
issues. This is why I was surprised to even think that the core was
broken not only unstable). Now with you comment in mind, we've
exported a version from the latest nightly build (now r5670) and
started to build simple things from the ground up. We were able to
reproduce the error very constantly with very little code.

The error is; You are seeing this error because the private class
method admin_index should not be accessed directly.
and it happens the second we add function admin_index() {} to the
AppController.

>From the export of the latest core, config the db connection, activate
the activate Routing.admin, create a basic Company model and
CompaniesController. Then add an AppController at the application
level and run /admin/companies

So is there any reason why this (admin_index in appcontroller)
wouldn't be right according to cake?!

Thanks Chris,

Seb.

On Sep 18, 11:45 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 9/18/07, Seb <[EMAIL PROTECTED]> wrote:
>
>
>
> > We've ran into a few issues with using admin routing with this
> > version, to a point where I asked a dev to start a new app from
> > scratch, with the latest core and configuring admin.routing properly.
> > The results weren't great to tell you the least. Activating the
> > Admin.routing by uncommenting the Configure::write('Routing.admin',
> > 'admin'); in the config/core.php just doesn't do it! fiddling around
> > raised all sorts of errors which I will not list.
>
> Hi Seb,
>
> Well, here at CDC we're using admin routing for a current project and
> I'm using the same release of CakePHP as you are (r5669), and my admin
> actions are all routing properly.  I know this is a stupid question,
> but are you sure it's not something else causing the problem?
>
> --
> Chris Hartjes
> Senior Developer
> Cake Development Corporation
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
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