Welcome Guest, Not a member yet? Register   Sign In
Load Model giving Error 500

Morning to everybody.

In my controller archive, I have a __construct function, and when i try to load a model as "$this->load->model("myModel"), and I refresh my website, it always gives me a Error 500!

If someone knows how to get ride of this problem, I would be very happy.


Attached Files Thumbnail(s)


What is the permission of the model myModel.php file? Also, you are not following the naming convention for CI models https://codeigniter.com/user_guide/gener...of-a-model

The first letter of a class library Model or Controller has to be upper case.

The file should be saved with the same name as the class name.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB