Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 (/showthread.php?tid=5786) |
Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - El Forum - 02-04-2008 [eluser]HdotNET[/eluser] Getting this error Code: Fatal error: Class 'CI_DB_forge' not found in /path/to/CodeIgniter_1.6.0/system/database/DB_utility.php on line 25 when running this backup database code in the database utilities: Code: $this->load->database(); As you can see this is pretty much verbatim from the user guide: http://ellislab.com/codeigniter/user-guide/database/utilities.html The code used to work with v1.5.4 Has anyone else found this error? Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - El Forum - 02-04-2008 [eluser]Seppo[/eluser] That's weird... I've test it OK... Have you updated the Loader class? It loads DB Forge before loading the db util class. Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - El Forum - 02-04-2008 [eluser]HdotNET[/eluser] whats to update? all I've done is change system folders and made sure these tasks were completed.. http://ellislab.com/codeigniter/user-guide/installation/upgrading.html Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - El Forum - 02-04-2008 [eluser]HdotNET[/eluser] ahh.... see what you mean. For some reason I had overidden the Loader class. That was the problem. my bad. Fatal error: Class 'CI_DB_forge' not found CI 1.6.0 - El Forum - 02-04-2008 [eluser]Seppo[/eluser] No problem =) |