Hi lunet
I don't think Message is a reserved keyword.
Can you tell us a little more about your table, model, association,
and also copy the SQL query that generates this error ?
++++++
Clément
On Mon, Aug 25, 2008 at 8:39 AM, . <[EMAIL PROTECTED]> wrote:
> I have a class called Message. When I do this
>
> $this->Message->find('first', array('conditions'=>
> array('Message.id'=>$id)));
>
> I get the following error SQL Error: 1066: Not unique table/alias: 'Message'
>
> Is Message a reserved keyword in cake? what's causing this?
>
> thanks
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---