All of sudden I got following error in one of my Drupal website
Warning: require_once(./includes/database.inc) [function.require-once]: failed to open stream: No such file or directory in /public_html/includes/bootstrap.inc on line 1021
Fatal error: require_once() [function.require]: Failed opening required ‘./includes/database.inc’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /public_html/includes/bootstrap.inc on line 1021
Digging down further I discovered that the files are somehow corrupted as I had moved the files from one host to another. I uploaded files again and it solved the problem.
Also a lot of folders were not uploaded correctly.
Re-uploading all the files solved the problem.