Welcome Guest, Not a member yet? Register   Sign In
Unable to locate the model you have specified


class News_model extends CI_Model {

public function __construct()


class News extends CI_Controller {

public function __construct()


and i am getting an error like.."Unable to locate the model you have specified: news_model"

i am unable to find any solution i did lots of google but still not find the solution

please help me.
Any help will be greatly appriciated

Thanks in advance.

Maybe try to lowercase the names?

and check the model is in the root of /models directory

[eluser]Chathuranga Tennakoon[/eluser]
can you check whether both of your models are directly available inside the models directory? then please tell me the operating system that is running in the server where your apache server is available.

Theme © iAndrew 2016 - Forum software by © MyBB