[fw-general] ZF2 Displaying partials and exceptions

2011-11-23 Thread Ron Dyck
I'm making my first attempt at working with ZF2. I've got the latest from github, both the skeleton application and zf2 repos. Trouble I'm having is displaying partials in the layout. When I do: ?php //echo $this-partial('/partial/header.phtml'); ? I believe I'm getting an error, but hard to tell

Re: [fw-general] ZF2 Displaying partials and exceptions

2011-11-23 Thread Marco Pivetta
As of https://github.com/zendframework/ZendSkeletonApplication/blob/master/module/Application/src/Application/Controller/ErrorController.php, the ErrorController provided by the Application module does not pass the Exception object to the view... Override it with your implementation of the

Re: [fw-general] ZF2 Displaying partials and exceptions

2011-11-23 Thread scs
Hi, I am not sure if it helps but one way is to look at the apache error.log if there are any php errors. On Wed, Nov 23, 2011 at 7:28 PM, Marco Pivetta ocram...@gmail.com wrote: As of

Re: [fw-general] ZF2 Displaying partials and exceptions

2011-11-23 Thread Marco Pivetta
Actually, those exceptions are not shown. Will try to do a PR later to allow turning on Exceptions in view :) Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 23 November 2011 18:48, scs sasc...@gmail.com wrote: Hi, I am not sure if it helps but one way is to look at