php - How to access my modules in Zend Framework 1.12 -
new zend!!
i have created zend projects 2 modules, 1.defaule , 2.test
structure
application + |__ modules |_default controllers indexcontroller.php errorcontroller.php
models views |_test controllers indexcontroller.php models views
application.ini
[production] phpsettings.display_startup_errors = 1 phpsettings.display_errors = 1 includepaths.library = application_path "/../library" bootstrap.path = application_path "/bootstrap.php" bootstrap.class = "bootstrap" appnamespace = "application" resources.frontcontroller.controllerdirectory = application_path "/controllers" resources.frontcontroller.params.displayexceptions = 0  resources.frontcontroller.moduledirectory = application_path "/modules" resources.modules[] = "test" finally in test/controllers/indexcontroller.php
class test_indexcontroller extends zend_controller_action {      public function init()     {         /* initialize action controller here */     }      public function indexaction()     {         echo "this test index controller";     }   } i can access default module no problems, when try
dev.local/test/index
it says application error
any suggestions why doing this??
first make
resources.frontcontroller.params.displayexceptions = 1 it give exact error message in controller, , whats in views directory in test module? need have script template file index action. guessing, coz faced similar issue recently.
Comments
Post a Comment