If your wiki gets into an irregular state and starts throwing this error:
Your site settings could not be loaded - this could affect your wiki's operations. Please check to ensure that Dekihost is running.
To troubleshoot, visit /@api/deki/@about - (if your site is http://deki-hayes/, then it'd be http://deki-hayes/@api/deki/@about/)
First, go to /maintenance/tables.sql and search for the phrase "insert into `config`". You'll see a list of SQL inserts. Go into mySQL and run these in your database to repopulate the default values. Then, go to /LocalSettings.php and find the $wgDekiApiKey value. You'll need to manually generate two mySQL insert commands which contains your super-secret API key and the server path to your attachments:
insert into `config` (`config_key`, `config_value`) values('security/api-key','SUPER-SECRET-API-KEY-HERE');
insert into `config` (`config_key`, `config_value`) values('storage/fs/path','/path/to/deki-wiki/attachments'); Note that the path to your attachments will be to the /attachments/ folder in Deki Wiki.
Run this and your config table should be restored. If you can find a way to reproduce config table crashes reliably, please file the issue at our bug tracker: http://bugs.opengarden.org.
http://forums.opengarden.org/showthread.php?p=13613&highlight=GetEncoding#post13613