Welcome Guest, Not a member yet? Register   Sign In
Models aren't loading - why is that?
#9

[eluser]yarek[/eluser]
[quote author="xwero" date="1199848845"]have you autoloaded the database else you have to add
Code:
$this->load->database()
to your controller.[/quote]

Omg, I feel so ashamed... I didn't load this.

The problem is resolved - I loaded database class in the controller's contructor. It works!

Thank you all for replies. I didn't know about loading database class because I didn't know I have to do that. Victory!


Messages In This Thread
Models aren't loading - why is that? - by El Forum - 01-08-2008, 03:00 PM
Models aren't loading - why is that? - by El Forum - 01-08-2008, 03:20 PM
Models aren't loading - why is that? - by El Forum - 01-08-2008, 11:46 PM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 12:07 AM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 01:58 AM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 09:58 AM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 01:43 PM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 02:15 PM
Models aren't loading - why is that? - by El Forum - 01-09-2008, 02:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB