Hi,
I am still getting Maximum function nesting level of '100' reached,
aborting! when using Zend_Application (current svn) with modules.
I have storefront and cms modules, storefront is default
Storefront is bootstrapped in the Main bootstrap file and cms has:
<?php
class Cms_Bootstrap extends Zend_Application_Module_Bootstrap
{
protected function _initMods()
{
echo "called <br />";
}
public function run(){}
}
It seems that
$moduleBootstrap = new $bootstrapClass($bootstrap);
$moduleBootstrap->bootstrap();
Is calling Zend_Application_Resource_Modules::init() and hence causing
the self loop???
Thx
Keith
Config is:
[bootstrap]
autoloadernamespaces.0 = "Zend_"
autoloadernamespaces.1 = "SF_"
phpsettings.display_errors = 0
phpsettings.error_reporting = 8191
phpsettings.date.timezone = "Europe/London"
bootstrap.path = APPLICATION_PATH"/bootstrap/Bootstrap.php"
resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules"
resources.frontcontroller.defaultmodule = "storefront"
resources.frontcontroller.throwerrors = false
resources.frontcontroller.params.prefixDefaultModule = true
resources.db.adapter = "PDO_MYSQL"
resources.db.isdefaulttableadapter = true
resources.db.params.dbname = "storefront"
resources.db.params.username = "root"
resources.db.params.password = "root"
resources.db.params.hostname = "localhost"
resources.db.params.driver_options.1002 = "SET NAMES UTF8;"
resources.modules =
[production : bootstrap]
[development : bootstrap]
phpsettings.display_errors = 1
resources.frontcontroller.throwerrors = true
[test : bootstrap]
--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------