Re: View::controller is not initialized in the constructor

2007-06-26 Thread migloth
I was calling component methods using $this->controller->component- >someMethod(); Oh well. I'll figure out a different/better way. Thanks. On Jun 26, 11:59 am, John David Anderson <[EMAIL PROTECTED]> wrote: > On Jun 26, 2007, at 10:43 AM, migloth wrote: > > > > > > > I recently downloaded Cak

Re: View::controller is not initialized in the constructor

2007-06-26 Thread John David Anderson
On Jun 26, 2007, at 10:43 AM, migloth wrote: > > I recently downloaded CakePHP release 1.2. > > When I attempted to access the $controller member of the View object > ($this->controller), I get a message similar to the following. > > Fatal error: Call to a member function on a non-object in /som