MUD-Manager icon indicating copy to clipboard operation
MUD-Manager copied to clipboard

Web UI | Class 'MongoDB\Driver\Manager' not found

Open ihabZhaika opened this issue 6 years ago • 3 comments

Hey, I have installed the MUD-Manager with the web GUI, everything went ok now when i tried to run the GUI i get the following issue `MUD Manager Configuration

This is the MUD Manager Configuration Screen. Click "edit" on those rows you wish to change.

Fatal error: Uncaught Error: Class 'MongoDB\Driver\Manager' not found in /home/tester/MUD-Manager/web/vendor/mongodb/mongodb/src/Client.php:87 Stack trace: #0 /home/tester/MUD-Manager/web/funcs.php(78): MongoDB\Client->__construct('mongodb://local...') #1 /home/tester/MUD-Manager/web/mud-home.php(26): init_database(NULL, NULL, NULL, NULL) #2 /home/tester/MUD-Manager/web/index.php(2): include('/home/tester/MU...') #3 {main} thrown in /home/tester/MUD-Manager/web/vendor/mongodb/mongodb/src/Client.php on line 87`

mud_gui_issue

I have installed the dependency with /usr/bin/composer require mongodb/mongodb in the directory of the web folder

the generated JSON file of the composer contains the following

{ "require": { "mongodb/mongodb": "^1.4" } }

The files in the web folder: GUI_issue_mud

Any suggestion where the issue could be ?

ihabZhaika avatar Jun 26 '19 19:06 ihabZhaika

This looks like mongodb isn't running. Is it?

elear avatar Aug 06 '19 12:08 elear

I think I have spotted a problem here. It has to do with the version of the mongodb plugin. pecl offers a better version to install. Can you try it and let me know?

elear avatar Jul 24 '20 06:07 elear

It's hard to try now since i have moved on and don't have the project files anymore, it's up to you to decide to keep this ticket open or not

ihabZhaika avatar Jul 24 '20 06:07 ihabZhaika