View Single Post
Old 02-03-2010, 03:35 PM   #1 (permalink)
gogink
The Visitor
Newcomer 
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
gogink is on a distinguished road
Default 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.
Attached Files
File Type: php index.php (337 Bytes, 167 views)
File Type: php IndexController.php (258 Bytes, 149 views)
File Type: php NewsController.php (213 Bytes, 137 views)
gogink is offline  
Reply With Quote