Hi
 
When the fez database is offline there is an error:
 
    Warning: Smarty error: unable to read resource: "offline.tpl.html" in /var/www/html/fez/include/Smarty/Smarty.class.php on line 1102
    Warning: Smarty error: unable to read resource: "offline.tpl.html" in /var/www/html/fez/include/Smarty/Smarty.class.php on line 1102

This can be fixed by moving these lines in the config.ini.php:
 
  // handle the language preferences now
  @include_once(APP_INC_PATH . "class.language.php");
  Language::setPreference();
above this line:
 
   include_once(APP_INC_PATH . "class.misc.php");
 
 
This is because an error okays in the class.misc.php file (I haven't dug deeper then that) that stops the rest of the config.ini.php file from being processed.  The error in the class.misc.php probably still is reached but at least now the language preferences are set and the database error message is displayed properly.
 
Regards
Pete