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

Ajay on December 14th, 2009

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 loto of folders were not uploaded correctly.

Bookmark and Remember:
  • Digg
  • del.icio.us
  • Reddit
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • Technorati
  • BlinkList
  • StumbleUpon
  • blogmarks
  • Fark
  • Netvouz
  • NewsVine
  • MisterWong
  • Simpy
  • Propeller
  • Slashdot
  • Blogosphere News
  • Diigo
  • Faves
  • Twitter
  • Yahoo! Buzz
  • Blogplay
  • Fleck
  • Gwar
  • Identi.ca
  • IndianPad
  • Kirtsy
  • LinkaGoGo
  • LinkedIn
  • Linkter
  • MySpace
  • Ping.fm
  • Posterous
  • Suggest to Techmeme via Twitter
  • Tipd
  • Tumblr

Add a Comment