I haven't 'GruppoTeam' model in my application.
I don't understand from where Cake gets this model.
In my controller I set

$uses=array('Ente');



On 13 Mag, 12:47, francky06l <[EMAIL PROTECTED]> wrote:
> Maybe I am wrong but it seems to me that the error is just saying that
> you indeed have a model "GruppoTeam" (in your application) and there
> is no table for this model.
> Is it the case ?
>
> On May 13, 12:05 pm, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > I past you my code because I can't find a solution.
> > MODEL :
> > class Ente extends AppModel
> > {
>
> >     var $name = 'Ente';
> >     var $useTable ="team";
> >     var $primaryKey ="team_id";
> >     var $validate = array(
> >     );
>
> > var $hasAndBelongsToMany = array( 'Network' =>array('className'    =>
> > 'Network',
>
> > 'finderQuery'  => 'SELECT DISTINCT Network.*
>
> > FROM team as t,utente_team as ut,utente_gruppo ug, gruppo as Network
>
> > WHERE (ut.team_id={$__cakeID__$}
>
> > AND ug.gruppo_id = Network.gruppo_id
>
> > AND ut.username=ug.username
> >                                                          AND
> > ut.team_id=t.team_id)'
> >                                                      )
>
> > }
>
> > CONTROLLER:
> > $this->Ente->id=38;
> > $ente= $this->Ente->read();
> > pr($ente);
>
> > I get always the error that:"Database table gruppo_team for model
> > GruppoTeam was not found."- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -
--~--~---------~--~----~------------~-------~--~----~
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