Model constructor not being called

2009-02-16 Thread JoshSchramm
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

Re: Model constructor not being called

2009-02-16 Thread JoshSchramm
A bit more background. I had this same issue a couple days ago and the only way i was able to solve it was to basically rename the model. At that time it was a model i had just created so it was no big deal to rename, this time though I'm using this all over the place. Even more frustrating this

Re: Model constructor not being called

2009-02-16 Thread JoshSchramm
ok update number 2. I dumped a list of included files and it isnt even including the file that corresponds to this model (which explains why it cant find a constructor). Back to digging. On Feb 16, 9:26 am, JoshSchramm josh.schr...@gmail.com wrote: A bit more background. I had this same issue

Re: Model constructor not being called

2009-02-16 Thread mscdex
What does your model class look like? --~--~-~--~~~---~--~~ 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

Re: Model constructor not being called

2009-02-16 Thread Miles J
Ive had this problem before and I never had a solution. I had to create a fake model and set the $useTable to the table, and then it would work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: Model constructor not being called

2009-02-16 Thread Miles J
You know what, this is happening to me right now. On some pages my TeamsUser model works, but on others it does not and errors. When I debug($this-TeamsUser), I expect to see the TeamsUser object, but instead I see the AppModel object, hence I know its not loading. I have no idea why and its