![]() |
Fatal error: Call to a member function load() on a non-object in system/database/DB_driver.php on line 1133 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Fatal error: Call to a member function load() on a non-object in system/database/DB_driver.php on line 1133 (/showthread.php?tid=17510) |
Fatal error: Call to a member function load() on a non-object in system/database/DB_driver.php on line 1133 - El Forum - 04-07-2009 [eluser]otherjohn[/eluser] Hi all. I have the following code in a model. Code: $select='p.id, p.name_'. $this->_lang .', ap.price'; error when this is run. I am using language files, but I am not sure why this error is thrown. Can someone help? Fatal error: Call to a member function load() on a non-object in system/database/DB_driver.php on line 1133 - El Forum - 04-07-2009 [eluser]pistolPete[/eluser] Do you autoload the database? Fatal error: Call to a member function load() on a non-object in system/database/DB_driver.php on line 1133 - El Forum - 04-07-2009 [eluser]otherjohn[/eluser] I Didnt before this error, but then I did and it still produced the error. This is just an overlaying error. I did find the true DB error underneath it. But still don't know why this was thrown. |