Zend Framework Forum

Go Back   Zend Framework Forum > Zend Framework Forum > General Talks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-2010, 08:16 AM
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default How to solve Action "index" does not exist and was not trapped in __call() error

Hi All
I hv read all of your post abt this solution.. n still i have not found any success.. I m new to zend-framework.. and i have done with this error...

I m using guestbook applicatio through zend manual. and i m facing below error. plz help me how to solve this.

Page not found
Exception information:

Message: Action "index" does not exist and was not trapped in __call()
Stack trace:

#0 D:\webdata\ZendFramework\ZendFramework\quickstart\ library\Zend\Controller\Action.php(515): Zend_Controller_Action->__call('indexAction', Array)
#1 D:\webdata\ZendFramework\ZendFramework\quickstart\ library\Zend\Controller\Dispatcher\Standard.php(28 9): Zend_Controller_Action->dispatch('indexAction')
#2 D:\webdata\ZendFramework\ZendFramework\quickstart\ library\Zend\Controller\Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 D:\webdata\ZendFramework\ZendFramework\quickstart\ library\Zend\Application\Bootstrap\Bootstrap.php(7 7): Zend_Controller_Front->dispatch()
#4 D:\webdata\ZendFramework\ZendFramework\quickstart\ library\Zend\Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#5 D:\webdata\ZendFramework\ZendFramework\quickstart\ public\index.php(26): Zend_Application->run()
#6 {main}

Request Parameters:

array (
'controller' => 'guestbook',
'action' => 'index',
'module' => 'default',
)

Thanx in advance
Dharmesh.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-29-2010, 11:32 AM
SirAdrian's Avatar
Member
 
Join Date: Apr 2008
Posts: 83
Default

Post your controller code. You probably just need to define
Code:
public function indexAction() {

}
in it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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

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




All times are GMT. The time now is 02:18 AM.


Designed by: Miner Skinz Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0