I can confirm: Pizza tutorial worked for me just now when trying it
out.

Check your naming carefully. The word Pizza will be everywhere :)
The controllers should be called PizzaSomethingController and extend
the PizzaAppController.
And the PizzaAppController (and PizzaAppModel) must exist even if they
are just empty classes otherwise you will get errors similar to what
you describe.

Those where the things I experienced as "new" and "unusual".

BTW: I am running a trunk-version of 1.2 from last week, not the
published beta which is now quite old. Lots of things have been fixed
since the 6311-beta so if you are on that you might try to update.

/Martin


On Apr 14, 6:43 am, klenwell <[EMAIL PROTECTED]> wrote:
> Thanks for the response, aran.  After researching the issue as much as
> I could, I'm left with the impression that plugins are broken in 1.2.
> Or at least not very reliable.
>
> Has anyone confirmed that the basic pizza orders example in the manual
> still works?  I was never able to get it working (see earlier post).
>
> I've given up on plugins for the time being and am focusing on
> developing an application-independent library, as detailed here:
>
> http://bakery.cakephp.org/articles/view/maintaining-an-application-in...
>
> Tom
>
> On Apr 13, 7:26 pm, aranworld <[EMAIL PROTECTED]> wrote:
>
> > Make sure you are following the advice in the following article:
>
> >http://aranworld.com/article/143/cakephp-model-associations-from-with...
>
> > In short, I have had problems with models from the plugin not being
> > automatically found, so I had to do a:
>
> > App::import('Model', 'Author');
>
> > Before I began the class declaration for the Model that existed in the
> > plugin/models directory.
>
> > -Aran
>
> > On Apr 12, 5:20 pm, klenwell <[EMAIL PROTECTED]> wrote:
>
> > > I had ambitious plans for a plugin that could be used by multiple
> > > cakephp apps on the same server.  But I can't even get the basic
> > > example from the cookbook work:
>
> > >http://book.cakephp.org/view/114/plugins
>
> > > I'm using CakePHP 1.2 with Php 5 and went through the example step-by-
> > > step.  Still, when I go tohttp://domain.com//pizza/pizzaOrders, I get
> > > the missing controller error:
>
> > > Error:  Create the class PizzaController below in file: cake_app
> > > \controllers\pizza_controller.php
>
> > > A couple questions:
>
> > > 1. Do I have to do anything special to "load" or "install" the plugin,
> > > like set a route?
>
> > > 2. Cab changing the default directory/path settings break things?
> > > Following the instructions here 
> > > --http://book.cakephp.org/view/32/installation#advanced-installation-35
> > > -- I customized the installation a bit.  The app folder is in home/
> > > projectname/cake_app/.  The setup works with regular controllers.  But
> > > I can't get the plugins working.
>
> > > Can anyone point out what I'm missing here?  Thanks,
>
> > > Tom
--~--~---------~--~----~------------~-------~--~----~
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