That doesn't help much, I've tried it and it gives errors like this: Model "Space" is not associated with model "name" [CORE/cake/libs/ model/behaviors/containable.php, line 340]
for alle fields that I specified for Space.* in the contain options. Also, an invalid query is now being created which gives the following error: SQL Error: 1054: Unknown column 'User.id' in 'where clause' Any suggestions? :) On Feb 28, 6:40 pm, mscdex <[email protected]> wrote: > In get_structure(), have you tried changing: $this->SpacesUser->find() > to $this->find() ? Then maybe also move the Space.* entries from > 'contain' to the 'fields' array. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
