db class works :), update your config.php