Hi,
What do I need to do now to see exceptions?
$controller->throwExceptions(true);
How do I map the default views to my setup of the controller?
these should be mapped by file convention, e.g.
/application/controllers/default/controllers/IndexController.php
(containing class IndexController)
Where does ErrorController live (in
./controllers/default/ErrorController.php was my guess)?
/application/controllers/default/controllers/ErrorController.php
(containing class ErrorController)
Also,I think you're missing
$controller->dispatch();
which is why there is no output
hope this helps
Tomek
On 16 Jul 2007, at 05:57, Drew Bertola wrote:
Hi,
I've already done a few projects with ZF in the range of 0.2
through 0.9
or so, but this is the first time I've tried to run 1.0.
My problem is that I'm not getting any output, either good or bad.
I've spent a few hours going through the manual, but it doesn't
seem to
address the points I need in order to move further on.
What I'm trying to do is use something like this:
$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory(
array("default" => APP_DIR . "controllers/default",
"admin" => APP_DIR . "controllers/admin")
);
What do I need to do now to see exceptions?
How do I map the default views to my setup of the controller?
Where does ErrorController live (in
./controllers/default/ErrorController.php was my guess)?
Thanks,
--
Drew