No, actually my problem is with loading models from the controller.
Debugging the code shows that loadModel (in cake/basics.php) is trying to
load: "cake_blog\app\plugins\MiBlog\models\blog.php", it should be
"cake_blog\app\plugins\mi_blog\models\blog.php".

I added: $name = Inflector::underscore($name); after line 194 which fixed
the problem but then the loadPluginModels function fails.

Ryan Rose
Vice President
Digiwize, Inc.
One Technology Drive
Tolland, CT 06084
e: [EMAIL PROTECTED]
p: 860.730.2631
http://www.digiwize.com

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of McFadly
Sent: Thursday, October 25, 2007 4:29 PM
To: Cake PHP
Subject: Re: Plugin Models Not Loading for 1.2.0.5875 pre-beta release?


Ryan, quick update - my issue seems to come when doing $this-
>requestAction('plugin/method') from either a view or an element, is
this the case with you?

On Oct 25, 1:46 pm, McFadly <[EMAIL PROTECTED]> wrote:
> Ryan -  I'm having the same problem.  Have you found a solution?
>
> On Oct 25, 8:35 am, "Ryan Rose" <[EMAIL PROTECTED]> wrote:
>
> > Has anyone else experienced problems with loading plugin models using
the
> > 1.2.0.5875 pre-beta release? The standard "Missing Model" error message
says
> > it expects the model to be in app/models, which is incorrect because it
> > should be in app/plugins/plugin_name/models.
>
> > Ryan Rose
> > Vice President
> > Digiwize, Inc.
> > One Technology Drive
> > Tolland, CT 06084
> > e: [EMAIL PROTECTED]
> > p: 860.730.2631http://www.digiwize.com




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