Re: Debug Error! Makes no sense!

2009-10-14 Thread majna
By posting error messages in debug mode? [Configure::write('debug', 1);] On Oct 13, 8:46 pm, "Dave Maharaj :: WidePixels.com" wrote: > I stripped out the controller function leaving it like this > > function view($id) { >    $this->layout = 'default_right'; >    $this->set('reports', $this->Repo

re: Debug Error! Makes no sense!

2009-10-13 Thread Dave Maharaj :: WidePixels.com
I stripped out the controller function leaving it like this function view($id) { $this->layout = 'default_right'; $this->set('reports', $this->Report->read(null, $id)); } And it still will not work. So comment out //$this->layout = 'default_right'; and it works. Makes no sense , the $