|
||||||
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
I have overwritten my UBB.threads configuration files! · Article
Don't panic, there are several things that can be done.
Restore from a backupFirst, if you had the forethought to keep complete backups, you'll want to restore your /cache_builders/custom and /includes folders, and your /styles/wrapper.php file. If you, for whatever reason, don't have a backup of your forum files (which we'd highly recommend that you setup now, so this won't become an issue in the future), you can continue below. Restore from config-bak.inc.phpIn UBB.threads v7.6.1+ when the configuration file is written to, a backup file is created (config-bak.inc.php). This file can be utilized for disaster recovery; just simply save a copy of the file to your hard disk (thus backing it up), and upload it to your /includes folder as "config.inc.php". You'll be missing any of your latest changes, as the file is only written to when you submit changes in the Control Panel, but it's better from starting from a blank configuration. Restore from a Blank ConfigurationThe standard upgrade procedure is to not overwrite your /cache_builders/custom or /includes folders, or your /styles/wrappers.php file as these files contain unique configuration options for your site. If you find yourself having overwritten these files and you don't have a backup to restore them from, you'll need to start anew. For your /includes/config.inc.php file you'll need to download a Blank Configuration File, and open it in plain-text editor such as Notepad or EditPlus (and not in an editor which can add formatting such as Word or Wordpad). You'll want to look at the database connection lines at the top of the file: Code 'DATABASE_SERVER' => 'localhost', Once you've populated these fields with your database connection information you'll want to upload the file to your /includes folder, overwriting the existing blank file. You should now be able to login to your forums and set all of the settings in the Control Panel. Posted on January 6th, 2019
▼ Sponsored Links ▼
▲ Sponsored Links ▲ Comments( |
||||||
▼ Sponsored Links ▼
▲ Sponsored Links ▲ |
||||||