I just thought I'd mention that everything works except that it puts those messages at the top of the forum which I fixed by putting @ signs in at the appropriate places...
PHP Code:
$GLOBAL['fc_config']['db_conn'] = @mysql_connect($GLOBALS['fc_config']['db']['host'], $GLOBALS['fc_config']['db']['user'], $GLOBALS['fc_config']['db']['pass']);
@mysql_query("SET NAMES utf8", $GLOBAL['fc_config']['db_conn']);