-- Wolfgang Forstmeier <[EMAIL PROTECTED]> wrote
(on Thursday, 13 March 2008, 08:30 AM +0100):
> I have developed a little site that have some modules. First I had them all in
> my default controller directory, now I would like to put them into several
> controller directorys to have them more seperated.
> 
> But if I do that my page occures in several errors in viewing.
> First of all my page is shown twice and ends up with an loop error.
> 
> Maybe someone could find out what is going wrong here.
> 
> My bootstrap file:
> 
> <?php
> //error_reporting(E_ALL);
> 
> require_once('configuration.php');
> 
> // Initialise Zend_Layout's MVC helpers
> Zend_Layout::startMvc(array(
>     'layoutPath' => LAYOUT_DIRECTORY)
> );
> 
> $ZendMVC = Zend_Controller_Front::getInstance();
> 
> $ZendMVC->setControllerDirectory(array(
>     'default'   => CONTROLLER_DIRECTORY.    'Default'
> .DIRECTORY_SEPARATOR.'Controller',
>     'news'      => CONTROLLER_DIRECTORY.    'News'
> .DIRECTORY_SEPARATOR.'Controller'
> ));


Are you naming the controllers in you news directory with the prefix
'News_'? 


-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to