Re: E-mail component rendering a template fails with no error message

2009-10-09 Thread Bruno Bergher
Hey Brian, Thanks for answering. die($content) returns the message, in pristine condition : ) die($View->layoutPath) returns the correct path, email/text die($View->renderLayout($content)) oddly returns: Fatal error: Call to a member function entity() on a non-object in (...)/cake/libs/view/h

Re: E-mail component rendering a template fails with no error message

2009-10-09 Thread brian
On Fri, Oct 9, 2009 at 1:02 AM, Bruno Bergher wrote: > > Hi there, > > Summary: when using EmailComponent I bump into a strange problem in > the View class. Using CakePHP 1.3.0.0. > > I'm using EmailComponent  in a very standard way. In my controller I > have: > > $this->Email->to = 's...@email.c