Uncaught Exception: Cannot load DB manager on installation 7.11

Hello !

I try to install SuiteCRM 7.11 on Debian serveur 9 - PHP 7.0 & 7.3 (same result)

PHP log : AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Exception: Cannot load DB manager in /var/www/clients/client1/web8/web/include/utils.php:1777\nStack trace:\n#0 /var/www/clients/client1/web8/web/include/database/DBManagerFactory.php(100): sugar_die(‘Cannot load DB …’)\n#1 /var/www/clients/client1/web8/web/install/install_utils.php(587): DBManagerFactory::getTypeInstance(NULL, Array)\n#2 /var/www/clients/client1/web8/web/install/checkDBSettings.php(320): getInstallDbInstance()\n#3 /var/www/clients/client1/web8/web/install/checkDBSettings.php(53): copyInputsIntoSession()\n#4 /var/www/clients/client1/web8/web/install.php(329): checkDBSettings()\n#5 {main}\n thrown in /var/www/clients/client1/web8/web/include/utils.php on line 1777’, referer: http://crm.tidee.fr/install.php

install.log :
2019-05-30 09:50:31…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-05-30 09:52:47…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-05-30 09:53:49…Begin System Check Process *************
2019-05-30 09:53:49…XML Parsing Support Found
2019-05-30 09:53:49…MBString Support Found
2019-05-30 09:53:49…ZIP Support Found
2019-05-30 09:53:49…/custom directory and subdirectory check passed
2019-05-30 09:53:49…cache directory and subdirectory check passed
2019-05-30 09:53:49…/module directory and subdirectory check passed
2019-05-30 09:53:49…/upload directory check passed
2019-05-30 09:53:49…/zip check passed
2019-05-30 09:53:49…PCRE version check passed
2019-05-30 09:53:49…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-05-30 09:53:49…php.ini location found. /etc/php/7.3/fpm/php.ini
2019-05-30 09:53:49…Outputting HTML for System check
2019-05-30 09:53:49…No Errors were found *************
2019-05-30 09:53:54…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-05-30 09:54:35…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-05-30 09:55:17…Begin DB Check Process *************
2019-05-30 11:09:12…Begin DB Check Process *************
2019-05-30 11:12:09…Begin DB Check Process *************
2019-05-30 11:21:27…Begin DB Check Process *************
2019-05-30 11:26:55…Begin DB Check Process *************
2019-05-30 11:29:15…Begin DB Check Process *************
2019-05-30 11:29:33…Begin DB Check Process *************
2019-05-30 11:39:41…Begin DB Check Process *************
2019-05-30 11:57:51…Begin DB Check Process *************

Thanks for help !! :slight_smile:

(sorry for my bad english)

hi, welcome.

I think your stack is not quite working yet. PHP needs to be able to connect to the database.

Normally this is done by installing the necessary PHP extensions (mysqli) and enabling them in your php.ini.

Google for generic articles teaching how to do this, not related to SuiteCRM. Once you have the DB connection going, report if you have any further problems installing SuiteCRM.

Thanks for reply, but I have many application on this serveur, many use mysql…

Juste look this, on Google, this message only for SuiteCRM & SugarCRM.

https://www.google.com/search?q=PHP+Fatal+error%3A+Uncaught+Exception%3A+Cannot+load+DB+manager+in+include%2Futils.php%3A1777\nStack+trace&oq=PHP+Fatal+error%3A+Uncaught+Exception%3A+Cannot+load+DB+manager&aqs=chrome.0.69i59l3j69i57.935j0j7&sourceid=chrome&ie=UTF-8

For information :

Are you using anything special as server name, username or password?

A port number on server name?

A password with highly unusual characters?

The hostname : tidee.fr
No special user or password
I try a password fir user base without highly unusual characters

Same problem :frowning:

Problème solved
I install under another site (sub-folder) and it’s work (???)
possible some problème withe sub.domain.ltd & DSN

Thanks all !

1 Like

I also have this problem when installing version 7.11.
My context was an installation on a test environment (Debian 10, apache, php 7.3, mariadb 10) without SSL configuration.

My error was enabled the “session.cookie_secure” property in the php.ini files.
This property when enabled, only allows access to the session cookie with the HTTPS protocol.

I fixed this “Unable to load DB manager” issue by disabling the “session.cookie_secure” property in the php.ini files and restarting the Apache server.

Hope this post will be useful for someone !

1 Like