-- Sanjay Aggarwal <[EMAIL PROTECTED]> wrote
(on Monday, 19 February 2007, 05:44 PM +0530):
> Thanks for the update.
>
> Let me say some thing more about the issue
>
> 1. When we give the wrong folder name - it throws an exception.
> 2. When we give the correct folder name - it gives a blank screen. So we are
> clue less at this time.
>
> It will be great if you can let us know something about it.
Try the following in your bootstrap:
$front->throwExceptions(true);
try {
$front->dispatch();
} catch (Exception $e) {
echo $e->getTraceAsString();
}
and then report the results.
> -----Original Message-----
> From: Michał Minicki [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 19, 2007 1:57 PM
> To: [email protected]
> Subject: Re: [fw-general] Problem with Front Class
>
> "Sanjay Aggarwal" <[EMAIL PROTECTED]> napisał(a):
>
> > I am facing problem with Zend_Controller_Front Class. The snippet of
> > the code below. There is some problem with dispatch method. When i die
> > the program before dispatch method then it display the 'check point'
> message.
> > Otherwise it trap into the loop and noting get displayed on the screen.
>
> Front controller does not display exceptions by default (as a security
> measure).
> I will not give you a solution, just a hint - make it do so ;)
>
> PS: It's all in the manual but it should be sufficient to browse through
> method names.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/