I wonder if there is some conflict in the translate behavior...

Have you tried with: $this->User->recursive = -1; $this->User-
>find('all');



On Oct 8, 11:31 am, nastya <[EMAIL PROTECTED]> wrote:
> Hello everyone
>
> I ask you for help!!!
>
> don't manage to get recursive work in the following conditions:
>
> User belongs to Group and Style
> User acts as 'Translate'
>
>                 $this->User->find('all',array('recursive'=>-1));
>
> ALWAYS gives this error:
>
>                SQL Error: 1051: Unknown table 'Group'
>
> because the query is the following:
>
>                 SELECT `User`.*, `Group`.*, `Style`.*,
> `I18n__description`.`content` FROM `users`.... etc
>
> if in the options of find I put 'fields'=>array(...) it's ok.... but I
> can never get all fields for users.
>
> Has anyone any idea of what can be the problem here? Please?
--~--~---------~--~----~------------~-------~--~----~
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