Fatal error: Class 'SelectQuery' not found in /*/includes/database/database.inc on line 813
Check database setting in settings.php file. If database configuration is right then just clear the cache and rebuild registery.