The problem here is the mismatch between the name of the plugin and
the default controller name.

For this to work, you need to rename contents_controller.php to
content_controller.php (and obviously amend the class name within
that). Additionally the views/contents/ folder needs to be renamed.

That should fix the problem.

Steve


On Jan 17, 11:42 am, NilsR <[EMAIL PROTECTED]> wrote:
> I can't access the default controller of my plugin. Cake tells me,
> that the controller is missing.
> My Structure looks like the following:
>
> app/
> plugins/
>         content/
>                 content_app_controller.php
>                 content_app_model.php
>                 controllers/
>                         contents_controller.php
>                 models/
>                         content.php
>                 views/
>                         contents/
>                                 admin_edit.ctp
>                                 admin_new.ctp
>
> When i now try to access example.com/contents/index it tells me the
> controller is missing.
--~--~---------~--~----~------------~-------~--~----~
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