MyBB Community Forums

Full Version: MyBB 1.4.4 crashed.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, I tried to update and if failed.
Am I able to install 1.6 from scratch and still use the SQL database?
Maybe if you can explain how it's failed, we'll be able to help.

If you install 1.6 fresh, you'll still need to run the upgrade script... why are you still running 1.4.4 anyway?? It was released over 2 years ago, and you've missed out on hundreds of bug fixes, as well as being vulnerable to some well known security issues.
I have not been doing much work on the forum for awhile. I thought I should update it, but it all went wrong.
Now when I run the update, I get an error 'Fatal error: Class 'DB_MySQL' not found in /home/mildurab/public_html/Mybb/install/upgrade.php on line 71'.
You're just missing files, that's all. You did upload the 1.6 files so they overwrote the 1.4 ones, right??

Also you made a file and database backup before you did this, yeah??
I tried the 1.6 update and are now getting this error.
Fatal error: Cannot use string offset as an array in /home/mildurab/public_html/Mybb/install/resources/upgrade17.php on line 670
There's something wrong with your database details in ./inc/config.php, have you edited these at any point...??
No. I have not changed the anything in the file.
Post the lines from it that start with $config, remove the actual database details so we can't see them though.
$config['dbtype'] = 'mysql';
$config['hostname'] = 'localhost';
$config['username'] = '';
$config['password'] = '';
$config['database'] = '';
$config['table_prefix'] = 'mybb_';

/**
* Admin CP directory
* For security reasons, it is recommended you
* rename your Admin CP directory. You then need
* to adjust the value below to point to the
* new directory.
*/

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

/**
* Hide all Admin CP links
* If you wish to hide all Admin CP links
* on the front end of the board after
* renaming your Admin CP directory, set this
* to 1.
*/

$config['hide_admin_links'] = 0;

/**
* Data-cache configuration
* The data cache is a temporary cache
* of the most commonly accessed data in MyBB.
* By default, the database is used to store this data.
*
* If you wish to use the file system (inc/cache directory)
* you can change the value below to 'files' from 'db'.
*/

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

/**
* Super Administrators
* A comma separated list of user IDs who cannot
* be edited, deleted or banned in the Admin CP.
* The administrator permissions for these users
* cannot be altered either.
*/

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

/**
* Database Encoding
* If you wish to set an encoding for MyBB uncomment
* the line below (if it isn't already) and change
* the current value to the mysql charset:
* http://dev.mysql.com/doc/refman/5.1/en/c...mysql.html
*/

$config['db_encoding'] = 'utf8';
PM me FTP login details, it shouldn't even be running the code that's causing this error if this really is what's in your config.php...
Pages: 1 2