bcit-ci / CodeIgniter

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
18.27k stars 7.6k forks source link

Fatal error mongodb with Codeigniter #4913

Closed jamipraveeen closed 7 years ago

jamipraveeen commented 7 years ago

Please help me in solving this problem Fatal error: Uncaught Error: Call to undefined method Mongo_db::_show_error() in C:\xampp\htdocs\arcane\application\libraries\mongo_db.php:11 Stack trace: #0 C:\xampp\htdocs\arcane\system\core\Loader.php(1099): Mongo_db->construct() #1 C:\xampp\htdocs\arcane\system\core\Loader.php(975): CI_Loader->_ci_init_class('mongo_db', '', NULL, NULL) #2 C:\xampp\htdocs\arcane\system\core\Loader.php(216): CI_Loader->_ci_load_class('Mongo_db', NULL, NULL) #3 C:\xampp\htdocs\arcane\application\controllers\templates\home.php(12): CI_Loader->library('mongo_db') #4 C:\xampp\htdocs\arcane\system\core\CodeIgniter.php(308): Home->construct() #5 C:\xampp\htdocs\arcane\index.php(201): require_once('C:\xampp\htdocs...') #6 {main} thrown in C:\xampp\htdocs\arcane\application\libraries\mongo_db.php on line 11 error page

jim-parry commented 7 years ago

Mongodb is not a supported database. You should ask for help on forum.codeigniter.com.