02-03-2010, 02:35 PM
|
#1 (permalink)
|
|
The Visitor
Join Date: Jan 2010
Posts: 2
Thanks: 0
|
Zend Controller -Invalid controller specified
I am leraning how to use zend framework and when i try to dispatch zend controller front i get this error
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in H:\xampplite\htdocs\phpweb20\include\Zend\Controll er\Dispatcher\Standard.php:243 Stack trace: #0 H:\xampplite\htdocs\phpweb20\include\Zend\Controll er\Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 H:\xampplite\htdocs\phpweb20\htdocs\index.php(12): Zend_Controller_Front->dispatch() #2 {main} thrown in H:\xampplite\htdocs\phpweb20\include\Zend\Controll er\Dispatcher\Standard.php on line 243
Folder structure of phpweb20, which is in my htdocs folder of xempp, is
H:\xampplite\htdocs\phpweb20\
data\
htdocs\
include\\controllers \Zend templates\
settings.ini index.php from htdocs is in atachment, also as IndexController.php and NewsController.php, they are located in controllers folder.I manage to redirect all requsts to index.php with htaccess file in htdocs folder.
|
|
|
|