Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá,
Estou com seguinte erro:
An error occurred Page not found Exception information:Message: Action "todosfilmes" does not exist and was not trapped in __call()
Stack trace:#0 D:\wamp\www\ProjetoZend\library\Zend\Controller\Action.php(518): Zend_Controller_Action->__call('todosfilmesActi...', Array)#1 D:\wamp\www\ProjetoZend\library\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('todosfilmesActi...')#2 D:\wamp\www\ProjetoZend\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))#3 D:\wamp\www\ProjetoZend\library\Zend\Application\Bootstrap\Bootstrap.php(101): Zend_Controller_Front->dispatch()#4 D:\wamp\www\ProjetoZend\library\Zend\Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()#5 D:\wamp\www\ProjetoZend\public\index.php(26): Zend_Application->run()#6 {main} Request Parameters:array ( 'controller' => 'filmes', 'action' => 'todosFilmes', 'module' => 'default',)
Abaixo tenho um controller onde não consigo chamar a action todosFilmesAction()http://projetozend.localhost/filmes/todosFilmes. Dentro /view tenho o arquivo ./view/filmes/filmes.phtmlSe eu tivesse um index.html não daria esse problema, mas porque? O que realmente está acontecendo?
<?php
class FilmesController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
// action body
}
public function todosFilmesAction()
{
}
}
AttCarregando comentários...