Quote:Warning: main(../inc/db_.php): failed to open stream: No such file or directory in /home/*******/public_html/forums/install/upgrade.php on line 24
Warning: main(../inc/db_.php): failed to open stream: No such file or directory in /home/*******/public_html/forums/install/upgrade.php on line 24
Fatal error: main(): Failed opening required '../inc/db_.php' (include_path='.:/php/includes:/usr/share/php') in /home/*******/public_html/forums/install/upgrade.php on line 24
So when I tried to go to upgrade page from browser, the message above was shown.
It looks like you have overwritten your inc/config.php file which holds datbase information.
Below is a skeleton version of the file, you'll need to edit the variables in it and upload it to your inc directory as config.php.
<?php
/* Database Configuration */
$config['dbtype'] = "mysql";
$config['hostname'] = "localhost";
$config['username'] = "mysql_username";
$config['password'] = "mysql_password";
$config['database'] = "mybb_database";
$config['table_prefix'] = "mybb_";
/* Admin CP URL */
$config['admindir'] = "admin";
/* Datacache Configuration */
/* files = Stores datacache in files inside /inc/cache/ (Must be writable)*/
/* db = Stores datacache in the database*/
$config['cachestore'] = "db";
?>
Replace:
mysql_username -With your MySQL username.
mysql_password - With your MySQL password.
mybb_database - With the name of the database MyBB exists in.
You may also have to replace mybb_ with your table prefix if you changed it.
Best of luck,
Chris
Yep. That was the problem. I had accidentally overwritten it.
The upgrade went fine, except now I get this:
Quote:Language 1 (./inc/languages/1) is not installed
Thanks for your help.