Tuesday, 1 October 2013

IndexController newly added method give 404 error

IndexController newly added method give 404 error

I am new to the zf so I guess this is a basic level problem for you guys.I
have a zf1 project and I am studying the code.In my IndexController all
the old methods are working except my new method,It gives me a 404
error.Do i need to specify the method names anywhere? or what can I do for
this error ?
my controller path -
application/modules/default/controllers/IndexController.php
my newly added method that is not work in IndexController.php
public function mytestAction() { }
Old method that is work in IndexController.php
public function termsconditionsAction() { }
views path - application/modules/default/views/index/mytest.phtml

No comments:

Post a Comment