[eluser]Rahat Bashir[/eluser]
Hello guys,
Fatal error: Class 'MY_CI_Model' not found in
C:\xampp\htdocs\accounting\application\models\save_journal_model.php on line 3
I have extended the CI_Model and named it as MY_CI_Model as below:
Code:
class MY_CI_Model extends CI_Model
{
function __construct()
{
parent::__construct();
}
// other methods here....
}
and put it in the application/libraries folder.
Now, I have created another model named Save_Journal_Model by extending MY_CI_Model and put in the application/models
Code:
class Save_Journal_Model extends MY_CI_Model
{
function __construct() {
parent::__construct();
}
}
When i am calling methods of
Save_Journal_Model from my
controllers, i am getting the
error.
I just can't extend my child model class, MY_CI_Model
can anyone help to overcome?