Hey guys.

Ive been fighting with a problem for a couple days now and it popped
back up this morning.

I have a class hotel_group_member that is a model. Some relevant info

filename: hotel_group_member.php
classname: HotelGroupMember
table: hotel_group_members

For some reason it isnt getting initialized. I get this error on my
landing page for the controller - Undefined property:
HotelGroupMember::$table [CORE/cake/libs/model/model.php, line 639]

I hunted it down a bit and in class_registry this line gets execute - $
{$class} =& new $class($settings);

but it never calls __construct in model.php like every other model
does. It just kinda dies there and skips the constructor.

I dont have the constructor overridden in my class so it should be
passing through to AppModel

Any thoughts?
--~--~---------~--~----~------------~-------~--~----~
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