Welcome Guest, Not a member yet? Register   Sign In
html table library does not load
#1

[eluser]motsan[/eluser]
There is a problem when i try to load the "html table" library.

error msg is : "Fatal error: Call to a member function set_template() on a non-object in..."

so i try something :

in welcome controller i write this and there is error:

Quote:function index() {
$this->load->model('user');
$this->load->library('table');
$this->table->set_template($tmpl);
}

in welcome controller i write this and there is NO error:
Quote:function index() {
$this->load->library('table');
$this->load->model('user');
$this->table->set_template($tmpl);
}

just notice that load order is different between two function
I think there is not order to load library and model ?
so maybe a bug or something that i dont understand (so Is there somebody to learn me?) ?

best regard


Messages In This Thread
html table library does not load - by El Forum - 04-30-2008, 10:18 AM
html table library does not load - by El Forum - 04-30-2008, 12:40 PM
html table library does not load - by El Forum - 05-01-2008, 04:08 AM
html table library does not load - by El Forum - 05-01-2008, 05:30 AM
html table library does not load - by El Forum - 05-01-2008, 07:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB