Witam,
utworzyłem w application/controller plik TestController.php oraz w views/scripts katalog test wraz z plikiem index.phtml ale po wejściu na localhost/.../test otrzymuje komunikat:
An error occurred
Page not found
Exception information:
Message: Action "index" does not exist and was not trapped in __call()
Stack trace:
#0 /home/nertos/public_html/zend/library/Zend/Controller/Action.php(514): Zend_Controller_Action->__call('indexAction', Array)
#1 /home/nertos/public_html/zend/library/Zend/Controller/Dispatcher/Standard.php(288): Zend_Controller_Action->dispatch('indexAction')
#2 /home/nertos/public_html/zend/library/Zend/Controller/Front.php(945): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /home/nertos/public_html/zend/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#4 /home/nertos/public_html/zend/library/Zend/Application.php(328): Zend_Application_Bootstrap_Bootstrap->run()
#5 /home/nertos/public_html/zend-test/1/public/index.php(26): Zend_Application->run()
#6 {main}
Request Parameters:
array(3) {
["controller"]=>
string(4) "test"
["action"]=>
string(5) "index"
["module"]=>
string(7) "default"
}
co może powodować nieznalezienie index?