+ Reply to Thread
Results 1 to 2 of 2

Thread: How to solve Action "index" does not exist and was not trapped in __call() error

  1. #1
    Dharmesh is offline 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.

  2. #2
    SirAdrian's Avatar
    SirAdrian is offline Member
    Join Date
    Apr 2008
    Posts
    87

    Default

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

+ Reply to Thread

Similar Threads

  1. Raw post data not present without using "index/index"
    By anticucho in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 12-28-2009, 09:26 PM
  2. Replies: 1
    Last Post: 02-25-2009, 11:27 PM
  3. Having problem when making a link since sometimes our page has "/index" but sometimes
    By googling1000 in forum General Q&A on Zend Framework
    Replies: 7
    Last Post: 02-17-2009, 05:58 PM
  4. Replies: 0
    Last Post: 09-18-2007, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts