MyBB Community Forums
MyBB Internal Error - Printable Version

+- MyBB Community Forums (
+-- Forum: 1.8 Support (
+--- Forum: General Support (
+--- Thread: MyBB Internal Error (/thread-233277.html)

MyBB Internal Error - hasanmallick - 2021-08-12

suddenly i got this problem.. I use already update mybb files.

forum link:

RE: MyBB Internal Error - Mostafa.Shiraali - 2021-08-12

open inc/config.php and check the entry for $config['database']['type']

RE: MyBB Internal Error - Matt - 2021-08-12

Set the database extension to mysqli, it is likely currently set to mysql

RE: MyBB Internal Error - hasanmallick - 2021-08-15

(2021-08-12, 05:31 PM)Mostafa.Shiraali Wrote: open inc/config.php and check the entry for $config['database']['type']
Please check it?

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'likeiwzh_bb';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'likeiwzh_bb';
$config['database']['password'] = 'Secret';

RE: MyBB Internal Error - PRÂDÏP - 2021-08-15

i think the hostname should be your hosting providers given hostiname or ip address.

RE: MyBB Internal Error - nixer55 - 2021-08-15

I'd be inclined to toggle the ['type'] = 'mysqli'; to ['type'] = 'mysql';

The error is clear - can't find the extension.  Which usually means it's not installed.  That's a host issue.

good luck...

RE: MyBB Internal Error - Matt - 2021-08-15

It will be the other way round, it should be mysqli

The regular mysql extension was removed from PHP 7, so 7.0+ only has the mysqli extension. Even on PHP 5.6, the mysqli extension would typically be installed.

If the config currently has mysqli and it's still not working then you'll need to contact your host, but it sounds like you must be on an incredibly old version of PHP if that's the case.