Is your controller extending the AppController?

On Sep 17, 4:21 pm, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> I have added invitations as a db table, invitations_controller.php and model
> invitation.phpand all the views including admin,
> but all I get is
> Fatal error: Call to undefined function loadmodel() in
> cake/libs/model/db_acl.php on line 114
>
> All the ACL actions are in the ACOS table. Log in as admin as the only
> person to access this controller will be an admin.
>
> It's a stand alone controller / model. No relations to other models.
>
> <?php
> class Invitation extends AppModel {
>
>         var $name = 'Invitation';
>
> }
>
> ?>
>
> Any ideas here? Is cake looking for a different name possibly because of the
> name 'invitations'?
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
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