Hi,

> I am having some problems with my controllers. I followed the Blog 1.2
> tutorial and it worked like a charm. I understood how it worked so I
> started my project for recipes. The very first thing I did failed and
> I dont know why. I have been staring at these files for like an hour
> and I cant see what's wrong. When I request:
>
> http://localhost/recipe_manager/site/ingredient/index
>
> Cake tells me that I need to create singular controller:
>
> Error:  IngredientController could not be found.
> Error: Create the class IngredientController below in file: app
> \controllers\ingredient_controller.php
>
> I have posted all my code below with the corresponding file names. Any
> help would be greatly appreciated.

The problem is not your code but the url you are calling. Try
http://localhost/recipe_manager/site/ingredients/index (notice the
plural "s" of ingredients).

--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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