[eluser]CRHayes[/eluser]
Hey everyone! I just dowloaded CI and started with it, but I have this error message:
Code:
An Error Was Encountered
Unable to locate the model you have specified: login_model
This is the code for the model:
Code:
<?php
class Login_model extends Model {
function Login_model()
{
parent::Model();
}
function userLogin($username)
{
$result = $this->db->query("SELECT member_id, username, password, authority FROM member_profile WHERE username = '$username'");
return $result;
}
}
?>
This is the line in the controller loading the message:
Code:
$this->load->model('Login_model', '', TRUE);
And I have a Login_model.php saved in my models folder. I have NO idea whats wrong! I can't find documentation or help anywhere! Please help! lol