MyBB Community Forums

Full Version: NEED HELP!!!!!!!!!!!!!!!!!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
(2011-01-01, 05:31 PM)-THE_BO$$- Wrote: [ -> ]
(2011-01-01, 05:29 PM)MattRogowski Wrote: [ -> ]Sleepy

This is the code that is triggering the error.

if(!extension_loaded($db->engine))
{
	$mybb->trigger_generic_error("sql_load_error");
}

It is nothing to do with file/folder permissions. The PHP extension for the database type you are trying to use is not available, so if you have not changed the database type in ./inc/config.php, your host must have changed something.

i have changed admin cp name

OK, but I don't see how that's relevant, as the error shows on the forum home page too, which has nothing to do with the ACP whatsoever.

Just ask your host about the SQL extension you're using.
did he overwrite them with a default? or with a downloaded backup that may contain config.php?

idk, i'm a newb, just tryna help Big Grin
Right, just look in your copy of ./inc/config.php, paste the lines that start with $config, and censor out your database details.
they use mysqli
(2011-01-01, 05:35 PM)thelonelylife Wrote: [ -> ]did he overwrite them with a default? or with a downloaded backup that may contain config.php?

idk, i'm a newb, just tryna help Big Grin

That's the thing, there is no default. config.php is created when you install your board.
$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'darkfor_Razor';
$config['database']['table_prefix'] = 'mybb_';

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

$config['admin_dir'] = 'admin';

$config['hide_admin_links'] = 0;

$config['cache_store'] = 'db';

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

$config['super_admins'] = '1';

$config['database']['encoding'] = 'utf8';

$config['log_pruning'] = array(
'admin_logs' => 365, // Administrator logs
'mod_logs' => 365, // Moderator logs
'task_logs' => 30, // Scheduled task logs
'mail_logs' => 180, // Mail error logs
'user_mail_logs' => 180, // User mail logs
'promotion_logs' => 180 // Promotion logs
Right, so the mysqli extension is not available anymore. If mysql doesn't work either, then just ask your host what they have changed, and ask them to fix it.
no problem with host problem is here only
You need to check with your host, it says come here to ask for support, if it isn't MyBB your next option is your host.
(2011-01-01, 05:44 PM)JonathanP Wrote: [ -> ]You need to check with your host, it says come here to ask for support, if it isn't MyBB your next option is your host.

it is MYBB only dude
Pages: 1 2 3 4 5 6