On Nov 1, 6:17 pm, Miyagi <[EMAIL PROTECTED]> wrote:
> Not the first time I've written a CakePHP application, but it's been
> awhile and this is the first time I've gone ahead and used the
> bake.php script. (IIS6 + Apache)
>
> http://localhost/cake/- works finehttp://localhost/cake/app/index.php- works
> fine
>
> I baked my models and basic controllers (add/edit/delete) - but when i
> goto: /cake/projects
> I get the following error...
> ===============
>
> Notice: Undefined index: controller in C:\Program Files\Apache
> Software Foundation\Apache2.2\htdocs\cake\cake\dispatcher.php on line
> 152
>
> Missing controller
>
> You are seeing this error because controller Controller could not be
> found.
Have a look at line 152 of the dispatcher.
Do you have a route defined which doesn't say which controller to use?
Have you taken the routes files from a 1.2 project and put it in a 1.1
install? Anytime there is an error for a controller with no name,
it'll be related to some kind of setup (route) problem, using bake
shouldn't be a factor. If you put a vanilla install in place and go to
the url /asdf do you get an error message saying the AsdfController
could not be found (correct response) or that an unnamed controller
could not be found? Depending on your answer to the last question you
should be able to form a plan.
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---