This is a spelling mistake.  The name of the folder is controllers.

Regards,
Sanjay Aggarwal

-----Original Message-----
From: Simon Mundy [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 17, 2007 6:38 PM
To: [email protected]
Subject: Re: [fw-general] Problem with Front Class

You have 'controllers' in your setControllerDirectory method and
'controller' in your directory structure - is that a mistype or could that
be the problem?

> 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.
>
> $controller = Zend_Controller_Front::getInstance();
> $controller->setControllerDirectory('c:/Inetpub/wwwroot/application/
> controll
> ers');
> echo "check point";die();
> $controller->dispatch();
>
>
> Directory Structure
> /wwwroot
>       /application
>               /controllers
>                       /IndexController.php
>
>       /index.php
>       /library
>
> Environment
> Windows 2003 with IIS6
>
> Could anybody support us and let us know what mistake we are making?
>
> Regards,
> Sanjay Aggarwal

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000 Voice +61
(0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com




Reply via email to