Plugin models in 1.3.2 work fine for me
Have you cleared the files from tmp after changing the plugin model as
directed by John (you might have some other such issues elsewhere - this is
why I bake plugins)
put debug to 2 and comment out the die. Then you should see the sql output
you have this in your layout
<?php echo $this->element('sql_dump'); ?>
- S
On 9 June 2010 01:11, trav <[email protected]> wrote:
> More information...
>
> if i just output the model from the controller, like this:
>
> pr($this->Account);die;
>
> returns this:
>
> --snip
> [logTransactions] =>
> [cacheQueries] =>
> [belongsTo] => Array
> (
> )
>
> [hasOne] => Array
> (
> )
>
> [hasMany] => Array
> (
> )
>
> [hasAndBelongsToMany] => Array
> (
> )
>
> [actsAs] =>
> --snip
>
>
> On Jun 9, 9:21 am, trav <[email protected]> wrote:
> > Hi John,
> >
> > I have tried your suggestion and it still does not function
> > correctly. Can anyone get these plugin models to work with version
> > 1.3.2?
> >
> > -t
> >
> > On Jun 8, 5:41 pm, John Andersen <[email protected]> wrote:
> >
> > > Hmm, just saw that your Client model is based on AppModel, which
> > > according to my knowledge (the CakePHP book) it shouldn't be. The
> > > Client model should be based on the MyPluginAppModel! (Please correct
> > > me if I am wrong!!)
> >
> > > Are debug turned on? Is the Client model used in the query at all?
> > > Enjoy,
> > > John
> >
> > > On Jun 8, 10:10 am, trav <[email protected]> wrote:> Hi John,
> >
> > > > I have tried setting recursive to 1 and 2 and still no joy.
> >
> > > > any other suggestions?
> >
> > > > -t
> >
> > > [snip]
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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