Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread [EMAIL PROTECTED]
thanks gwoo, it worked :) Just thought I didn't have to since there were default values set. On Jun 17, 4:17 pm, "thomas mery" <[EMAIL PROTECTED]> wrote: > Just noticed that I did not specify that  I was running on CakePhp 1. 2 RC1 > > On Tue, Jun 17, 2008 at 3:59 PM, [EMAIL PROTECTED] < > >

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread thomas mery
Just noticed that I did not specify that I was running on CakePhp 1. 2 RC1 On Tue, Jun 17, 2008 at 3:59 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > Hello, > > I might fill in a ticket with this but as I don't know if it's an > obvious mistake from my part I'd rather post here first. Al

Re: using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread Gwoo
You are not duplicating the parent constructor. Check out model.php and copy the __construct() definition with all its params. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, se

using __construct function in model causes blank page when model has self referencing association

2008-06-17 Thread [EMAIL PROTECTED]
Hello, I might fill in a ticket with this but as I don't know if it's an obvious mistake from my part I'd rather post here first. Also I don't know (yet) how to write tests. So the problem I'm facing is that I was trying to implement a __construct method in a model like so : function __construc