Hello I am trying to run a very simple ZF application with the latest code base and keep getting this error:
*Fatal error*: Maximum execution time of 30 seconds exceeded in * /home/mike/workspace/domain.com/Zend-6.0 /library/Zend/Controller/Dispatcher.php* on line *568 *The problem first occurs in the Zend_Controller_Front::dispatch() method. //The $className variable is set to "IndexController" $moduleClass = $this->_getModuleClass($request, $className); //This function returns $moduleClass as "_IndexController" if ($className != $moduleClass) { $classLoaded = $this->loadClass($moduleClass, $this->getDispatchDirectory()); In the Zend_Controller_Dispatcher::loadClass() method the following section of code is making the script time out. // The $class variable is set too "_IndexController" going into the while loop. This results in an endless loop. while (strstr($class, '_')) { if (class_exists($class)) { return $class; } } Does anyone know what I can do about this? Here is a copy of my application. I am using the incubator. // index.php $router = new Zend_Controller_RewriteRouter(); $controllerpath = array ( 'default' => dirname(__FILE__) . "/controllers", ); $controller = Zend_Controller_Front::getInstance(); $controller->setControllerDirectory($controllerpath); $controller->setParam('useModules', true); $controller->setRequest(new Zend_Controller_Request_Http()); $controller->setRouter($router); $controller->dispatch(); // ./controllers/IndexController.php class IndexController extends Zend_Controller_Action { public function indexAction() { $this->view = new Zend_View(); $this->view->addScriptPath("/home/mike/workspace/domain.com/public_html/views"); echo $this->view->render("home.php"); } } -- Michael DePetrillo [EMAIL PROTECTED] Mobile: (858) 761-1605 AIM: klassicd