I have added

var $belongsTo = array('UserState' =>

                                array('className' => 'UserState',

                                                 'foreignKey'=>false,

                                                'conditions' => '',

                                                'fields' => '',

                                                'order' => '',

                                                'counterCache' => ''

                                ),

                                'UserCountrie' =>

                                array('className' => 'UserCountrie',

                                                 'foreignKey'=>false,

                                                'conditions' => '',

                                                'fields' => '',

                                                'order' => '',

                                                'counterCache' => ''

                                )

           );
this code in my model, Is there anything wrong?

On Mar 14, 1:21 pm, brian <[email protected]> wrote:
> On Sat, Mar 14, 2009 at 6:58 AM, Manisha P <[email protected]> wrote:
>
> > Hello All,
>
> > I have added $belongsTo in model, and getting Fatal error: Allowed
> > memory size of 25165824 bytes exhausted (tried to allocate 4 bytes)
> > while running. sad.gif
>
> > Does anyone has some idea about this?
>
> You probably have too many recursive associations. Adjust the
> 'recursive' param in your find() or investigate your models. Your
> associations may be incorrect.

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