Zf configuration error ...... Zf configuration error: Fatalerror: UncaughtexceptionZend_Controller_Dispatcher_ExceptionwithmessageInvalidcontrollerspecified (index. php) inD: wampApache2.2htdocszendfra zf configuration error ......
Zf configuration error:
Fatal error: Uncaught exception 'zend _ Controller_Dispatcher_Exception 'with message 'invalid controller specified (index. php) 'In D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ library \ Zend \ Controller \ Dispatcher \ Standard. php: 242 Stack trace: #0 D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ library \ Zend \ Controller \ Front. php (954): dispatch-> dispatch (Object (Zend_Controller_Request_Http), Object (Zend_Controller_Response_Http) #1 D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ index. php (29): Zend_Controller_Front-> dispatch () #2 {main} thrown in D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ library \ Zend \ Controller \ Dispatcher \ Standard. php on line 242
In standard. php, row 242:
Require_once 'zend/Loader. php ';
/** Zend_Controller_Dispatcher_Abstract */
Require_once 'zend/Controller/Dispatcher/Abstract. php ';
Warning: require_once (Zend/Loader. php) [function. require-once]: failed to open stream: No such file or directory in D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ library \ Zend \ Controller \ Dispatcher \ Standard. php on line 24
Fatal error: require_once () [function. require]: Failed opening required 'zend/Loader. php '(include_path = '.; c: \ php5 \ pear ') in D: \ wamp \ Apache2.2 \ htdocs \ zendframework \ library \ Zend \ Controller \ Dispatcher \ Standard. php on line 24
------ Solution --------------------
Zendframework configuration method
1: Introduce the path of your zendframework package in the include_path file of php. ini, for example, include_path = ".; D: \ xampp \ php \ PEAR; d: wamp \ library"
2: enable the LoadModule rewrite_module modules/mod_rewrite.so module in the apache configuration file.
3: restart the service.