-- motymen <[email protected]> wrote
(on Wednesday, 21 September 2011, 02:55 AM -0700):
<snip>
> Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with
> message 'Invalid controller specified (error)' in
> D:\xampp\htdocs\zend\helloworld\library\Zend\Controller\Plugin\Broker.php on
> line 336
> 
> ---
> 
> in my index.php in web_root i have 
> 
> <?php
> error_reporting(E_ALL|E_STRICT);
> ini_set('display_errors', true);
> date_default_timezone_set('Europe/London');
> 
> $rootDir = dirname(dirname(__FILE__));
> set_include_path($rootDir . '/library' . PATH_SEPARATOR .
> get_include_path());
> 
> require_once 'Zend/Controller/Front.php';
> Zend_Controller_Front::run('../application/controllers');
> 
> ?>
> 
> do you know what could be my problem?

Make sure you have an ErrorController in application/controllers/ first.
Use the one generated by Zend_Tool (zf.sh, zf.bat), or the reference one
from the Quick Start, and make sure you're in the development
environment so you can get a detailed exception stack trace. Once you
have, you should be able to identify the exception that's triggering the
ErrorController, which will let you get to the root of the problem.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to