CodeIgniter Forums
HMVC - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: HMVC (/showthread.php?tid=60883)



HMVC - El Forum - 07-21-2014

[eluser][email protected][/eluser]
Here is what i found that give me problem when tryin to login below is code for the cause of the error Fatal error: Class 'Mdl_users' not found in C:\xampp\htdocs\csir_pri_cms\application\third_party\MX\Loader.php on line 209


$this->load->model('mdl_users');
$result = $this->mdl_users->password_check($username, $password);

if ($result == FALSE)
{
$this->form_validation->set_message('password_check', 'You did not enter a correct and/or password');
return FALSE;
}
else
{
return TRUE;
}


HMVC - El Forum - 07-21-2014

[eluser]www.sblog.in[/eluser]
do you have HMVC setup correctly http://www.webtuts.in/setup-hmvc-with-codeigniter-2-1-4/


HMVC - El Forum - 07-22-2014

[eluser]InsiteFX[/eluser]
The Modules::$locations array may be set in the application/config.php file. ie:
Code:
<?php
$config['modules_locations'] = array(
    APPPATH.'modules/' => '../modules/',
);