Hi,

If you look in the Book,  I believe it says to only use unique alias
names.  I think you are using the alias name 'Sites' twice over.

http://book.cakephp.org/view/78/Associations-Linking-Models-Together

[Quote]
...aliases must be unique both within a single model and on both sides
of a belongsTo/hasMany or a belongTo/hasOne relationship. Choosing non-
unique names for model aliases can cause unexpected behavior.
[/Quote]

I may be wrong,  but it's worth a try.

Rgds.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to