MyBB Community Forums

Full Version: Error while upgrading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just after i run upgrade it show following massage:
Quote:Warning: require_once(/home/purob/public_html/inc/db_.php) [function.require-once]: failed to open stream: No such file or directory in /home/purob/public_html/install/upgrade.php on line 75

Fatal error: require_once() [function.require]: Failed opening required '/home/purob/public_html/inc/db_.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/purob/public_html/install/upgrade.php on line 75

Help me please.
There is no inc/db_.php file.
There is no such file called db_.php in MyBB. I think you've been hacked in some way. The only files prefixed with db_ are those to run mysql, mysqli, sqlite and pgsql.
Is it a hacking issue? I m not sure. At the line 75 of upgrade.php
Quote:require_once MYBB_ROOT."inc/db_{$config['database']['type']}.php";
What can I do?
Check the database type in config.php, there should be something there for mysql.
ya. done . thnx