I am new to codeigniter HMVC structure, following this link for installation.
https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src
Have performed all steps but when reached on step 12 it shows error.
Steps:
- Start with a clean CI install
- Set $config[‘base_url’] correctly for your installation
- Access the URL /index.php/welcome => shows Welcome to CodeIgniter
- Drop Modular Extensions third_party files into the application/third_party directory
- Drop Modular Extensions core files into application/core, the MY_Controller.php file is not required unless you wish to create
your own controller extension
- Access the URL /index.php/welcome => shows Welcome to CodeIgniter
- Create module directory structure application/modules/welcome/controllers
- Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php
- Access the URL /index.php/welcome => shows Welcome to CodeIgniter
- Create directory application/modules/welcome/views
- Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php
- Access the URL /index.php/welcome => shows Welcome to CodeIgniter
Error:
Your view folder path does not appear to be set correctly. Please open the following file and correct this: index.php
How to solve it please? is any change need in route/config.index etc? should i copy-paste config folder to each module as well? currently they all are default.
My CI version is latest 3.0.3
and in config index_page is empty instead of index.php
$config['index_page'] = '';
also checked by adding index.php instead of empty.
one more thing i searched online and also tried by capitalizing View,Controler etc folder names but nothing happened.