MyBB Community Forums

Full Version: Upgrade destroyed forum - File Missing (solved)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well i went to http://mb4f.info/forum/install/upgrade.php and it says db_.php dosent exist.  so i checked download and its not in the inc folder. can anyone help ?
Reply ASAP
Thanks
Dazzul
It seems like you overwrote your config.php file.
Please make an new config.php
Here is an template for you.
Copy/paste it into an new file and name it config.php.
Change it to your config and upload it to your forum/inc folder. On your ftp server.
<?php
/**
 * Daatabase configuration
 */

$config['dbtype'] = 'mysql';
$config['hostname'] = 'localhost';
$config['username'] = 'username';
$config['password'] = 'password';
$config['database'] = 'mybb';
$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';

?>
I'm the other admin on Mb4f, so I guess I'll take over where dazzul left off.  I uploaded the new config.php file like you said, and when I go into the MyBB Installation Wizard, everything goes fine until I get to the Settings Synchronisation page.  When I get there, this comes up at the top of the screen:


Warning: file_get_contents(/home/baz9276/public_html/forum/install/resources/settings.xml): failed to open stream: No such file or directory in /home/baz9276/public_html/forum/install/upgrade.php on line 446

Warning: Invalid argument supplied for foreach() in /home/baz9276/public_html/forum/install/upgrade.php on line 451


What does this mean and what should I do now?
Please make sure you have uploaded all files inside install directory. It seems you have missed out settings.xml file.
Please make sure it's in the install/resources/ directory.
You might just uploaded the whole directory again.
CraKteR Wrote:Please make sure you have uploaded all files inside install directory. It seems you have missed out settings.xml file.
Please make sure it's in the install/resources/ directory.
You might just uploaded the whole directory again.
The install directory was removed after the upgrade was finished (at least that's what the instructions said to do). I'm checking the forum now and everything seems to be okay except that when you click on the register button, there's no Image Verification image. All that shows up where the image should be is a red X.
Is captcha.php on the server? Is GD installed?
Christian Wrote:Is captcha.php on the server? Is GD installed?
Captcha.php is on the server. I'm not sure what GD is.
Answerthis Wrote:I'm not sure what GD is.

GD is used to output images from PHP.

Admin CP --> Maintenance --> View PHP Info

If GD is installed and enabled, you will be able to find a section like this:
gd
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.1.7
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XPM Support 	enabled
XBM Support 	enabled
Yep, that's there, but the verification image still isn't showing up
Never mind, problem solved. I saw this thread http://community.mybboard.net/showthread.php?tid=13196 and I replaced the font files, so now the image works. Thank you.