TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Zend Controller -Invalid controller specified (http://www.talkphp.com/general/5256-zend-controller-invalid-controller-specified.html)

gogink 02-03-2010 03:35 PM

Zend Controller -Invalid controller specified
 
3 Attachment(s)
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.


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0