(custom) libraries won't load - 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: (custom) libraries won't load (/showthread.php?tid=28231) |
(custom) libraries won't load - El Forum - 03-05-2010 [eluser]Jaimie[/eluser] I'm facing a problem where some custom downloaded (Twitter, Gvis) classes don't get loaded even tho they are present in the directory and loaded using: Code: $this->load->library('Twitter'); if'ing it returns false, so there must be something i missed. Same with autoloading, false. Hope someone can help me out. Thanks (custom) libraries won't load - El Forum - 03-05-2010 [eluser]haXis[/eluser] you can try to load the libraries with lowercase names Code: $this->load->library('twitter'); if that doesnt help lowercase the files I had similar problem with models (custom) libraries won't load - El Forum - 03-05-2010 [eluser]Jaimie[/eluser] returned false.. Also tried moving the library to either application/library and system/library, uppercasing, lowercasing, autoloading, all no go. (custom) libraries won't load - El Forum - 03-05-2010 [eluser]danmontgomery[/eluser] Set log threshold to 4 and check the error log, _ci_load_class() should be logging any issues with the loader. (custom) libraries won't load - El Forum - 03-05-2010 [eluser]Jaimie[/eluser] Quote:DEBUG - 2010-03-05 15:22:34 --> Config Class Initialized Doesn't seem to give any clues, other than the class being loaded? (custom) libraries won't load - El Forum - 03-05-2010 [eluser]Moddi[/eluser] i had a similar problem and actually i didn't bother to solve it, problem was that it wasn't autoloading the library or anything written in the autoload.php file, so i just manually loaded them But this problem occured when i upgraded to php 5.3 What version are u using? |