CodeIgniter Forums
Model loading issue - 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: Model loading issue (/showthread.php?tid=47715)



Model loading issue - El Forum - 12-19-2011

[eluser]Unknown[/eluser]
I know this is a really basic question but I just did a fresh install of CI and am trying to get it up and running. I followed all the setup instructions and configured accordingly. I created model classes for all my db tables but when I go to load the model it comes back as NULL. I know the db connection information is good. I tried both autoloading the db and loading from within in the model constructor and neither make a difference. In my controller I'm just doing a simple $this->load->model('blabla_model') call and it's not erroring out but instead returning a NULL value. Any ideas?

Thanks