Thanks Matt,
ZF 1.5.1
Zend Studio 5.5.1
Bootstrap is:
------------------------------------------------------------------------------------------------
<?php
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', 1);
date_default_timezone_set('America/Vancouver');
// directory setup and class loading
$dirDev = dirname(dirname(__FILE__));
set_include_path('.'
. PATH_SEPARATOR . $dirDev . DIRECTORY_SEPARATOR . 'library/'
. PATH_SEPARATOR . $dirDev . DIRECTORY_SEPARATOR . 'application/models'
. PATH_SEPARATOR . get_include_path());
include "Zend/Loader.php";
Zend_Loader::registerAutoload();
// load configuration
$config = new Zend_Config_Ini('../application/config.ini', 'general');
$registry = Zend_Registry::getInstance();
$registry->set('config', $config);
// setup database
$db = Zend_Db::factory($config->db);
Zend_Db_Table::setDefaultAdapter($db);
// setup controller
$frontController = Zend_Controller_Front::getInstance();
$frontController->throwExceptions(true);
$frontController->setControllerDirectory('../application/controllers');
Zend_Layout::startMvc(array('layoutPath'=>'../application/layouts'));
// setup action helper
$view = new Zend_View();
$view->addHelperPath('My/View/Helper/', 'My_View_Helper');
Zend_Controller_Action_HelperBroker::addPrefix('My_Helper');
// run!
$frontController->dispatch();
-----------------------------------------------------------------------------
The problem is: when F10 run $frontController->dispatch(); no problem, but when
F11 first get in, then this error message occurred.
Thanks.
Jason.
Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: -- Jason Qi wrote
(on Wednesday, 30 April 2008, 09:36 PM -0700):
> I encountered the same situation as this:
>
> http://www.zfforums.com/zend-framework-general-discussions-1/
> general-q-zend-framework-2/
> action-helper-name-notifypredispatch-not-found-when-debugging-zend-debugger-526.html
>
> Does anyone know what happened ?
There's nowhere near enough information on that post for me to begin
speculating on it. What does the bootstrap look like, is there a
NotifyPreDispatch plugin that's supposed to be triggered, what version
of ZF, what version of Zend Studio...
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.