Hi,
You should make sure that throwExeptions option is enabled on your
development environment.
In your application.ini  it should look like this:

resources.frontController.throwExceptions = 1

--
Pagarbiai,
Vladas Diržys
Tel.: +370 620 69020
www.dirzys.com


On Fri, Aug 7, 2009 at 13:49, Matthijs van Henten <[email protected]> wrote:

> Hello,
>
> I'm working on a project based around "Zend_Application" and the
> "guestbook" quickstart application.
>
> Frequently, I find it hard to debug certain things within the
> framework becaus I just don't get the exceptions, notices or warnings
> I'm expecting.
> I've set up my php.ini to a E_ALL | E_STRICT, the error reporting is
> "On" and within other stuff I'm doing, I'm perfectly able to see all
> the exceptions and errors.
>
> For example, this morning I've been digging into some unexplicable
> faillure ( the code was in flux, so I had *some* reason to suspect my
> own doing )
> finding out after a while, that a recent update has overwritten my
> application.ini and my database was not connecting.
>
> only when I wrapped a $adapter->quote( $string) in a try - catch
> block, I was could see what went wrong.
>
> There certainly must be a better way then this...? am I not seeing
> somethign, or forgot to read a certain part of the tutorial?
>
> Any help much appreciated!
>
> Matthijs.
>

Reply via email to