TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-03-2010, 03:35 PM   #1 (permalink)
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
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid controller specified ( error ) when dealing with modules in zend framework. Orc General 1 05-21-2009 03:08 PM
Zend Framework Tanax General 21 03-23-2009 07:07 PM
PHP and Zend smrtalex Absolute Beginners 0 08-12-2008 09:02 PM
Anybody familiar with Zend Studio? delayedinsanity General 12 07-07-2008 01:50 PM
Zend Framework - questions questions abiko Advanced PHP Programming 4 02-29-2008 12:46 AM


All times are GMT. The time now is 04:44 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design