2007-05-16, 08:25 AM
Quantage Wrote:It broke my MyBB, lol.
I uploaded all of the files. And when I try to go to home/install/upgrade.php it comes up with this :/
Warning: require_once(/home/quantage/public_html/usf/inc/db_.php) [function.require-once]: failed to open stream: No such file or directory in /home/quantage/public_html/usf/install/upgrade.php on line 25 Fatal error: require_once() [function.require]: Failed opening required '/home/quantage/public_html/usf/inc/db_.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/quantage/public_html/usf/install/upgrade.php on line 25
If I try to go to my main directory, I get a message saying that MyBB isn't installed.
Please help
Thanks,
~Matt
I had the same problem, but i found this and it fixed it.
I uploaded all the files and overwrote the existing ones, including the config.php file.
this fixed it for me
DrPoodle Wrote:Here is the code you need to put in the new config.php. Make sure you edit the database configuration variables to what they should be...
<?php /** * Daatabase configuration */ $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'; ?>
So change all of these to what they should be to connect to your database:
$config['dbtype'] = 'mysql';
$config['hostname'] = 'localhost';
$config['username'] = '';
$config['password'] = '';
$config['database'] = '';
$config['table_prefix'] = 'mybb_';
Also im having a problem with alot of the modifications i use.
Some of them give me this error after i upgraded:
Quote:Depreciated function call: update_thread_countthey never did this until this previous upgrade. I dont know how to fix them, so i just deactivated them for now and the error is gone.