My site works fine in local system, Upload code and database in server show Error.

Fatal error: Class 'SelectQuery' not found in /*/includes/database/database.inc on line 813


1 Answer 1


Check database setting in settings.php file. If database configuration is right then just clear the cache and rebuild registery.

Not the answer you're looking for? Browse other questions tagged or ask your own question.