> and the framework complains :
>
> Fatal error: Cannot instantiate non-existent class: articlesright in /
> var/www/cake/cake/libs/model/model_php4.php on line 445
you need to name your model file correctly, 'articles_right.php', and
you just need a $name and $useTable, no associations, eg:
class ArticlesRight extends AppModel
{
var $name = 'ArticlesRight';
var $useTable = 'articles_right';
}
that should do it
hth
jon
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---