Found issue via Drush:

brian@rl:~/Sites/drupal-8.x/sites/d8x.ld (revisions)$ drush cc all
require_once(/Users/brian/Sites/drupal-8.x/includes/database/select.inc): failed to open stream: No such file or directory bootstrap.inc:3059 [warning]
PHP Fatal error: require_once(): Failed opening required '/Users/brian/Sites/drupal-8.x/includes/database/select.inc' (include_path='.:/usr/local/Cellar/php/5.3.8/lib/php') in /Users/brian/Sites/drupal-8.x/core/includes/bootstrap.inc on line 3059
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required '/Users/brian/Sites/drupal-8.x/includes/database/select.inc' (include_path='.:/usr/local/Cellar/php/5.3.8/lib/php') in
/Users/brian/Sites/drupal-8.x/core/includes/bootstrap.inc, line 3059

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

realityloop’s picture

Status: Active » Needs review
FileSize
894 bytes

Patch attached

Status: Needs review » Needs work

The last submitted patch, 1333790-bootstrap-cant-find-select.inc-1.patch, failed testing.

xjm’s picture

Are you sure that this isn't instead an issue with drush (or simply with needing to clear caches)? I've retested the patch on multiple testbots and it completely breaks the test site installation.

Edit: I do realize the first line up there is drush cc all, but if drush is throwing fatals, I'd try it through the UI.

xjm’s picture

Project: Drupal core » Drush
Version: 8.x-dev »
Component: base system » Core Commands
Status: Needs work » Closed (duplicate)

Dave Reid pointed out this is probably a duplicate of #1327968: Drush is hosed in D8 following /core commit.

mgifford’s picture

Project: Drush » Drupal core
Version: » 8.x-dev
Component: Core Commands » base system

I got this error with pulling down a fresh Git repository and no use of Drush.

In this case it's all within a MAMP stack:

Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/dm8/includes/database/select.inc' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/dm8/core/includes/bootstrap.inc on line 3064

Which comes from:

  // $type is either 'interface' or 'class', so we only need the first letter to
  // keep the cache key unique.
  $cache_key = $type[0] . $name;
  if (isset($lookup_cache[$cache_key])) {
    if ($lookup_cache[$cache_key]) {
      require_once DRUPAL_ROOT . '/' . $lookup_cache[$cache_key];
    }
    return (bool) $lookup_cache[$cache_key];
  }

I cleared the cache in the database and tripped over the same spot (though with different code):

Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/dm8/modules/entity/entity.controller.inc' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/dm8/core/includes/bootstrap.inc on line 3086

Not sure what's up. I pulled a fresh install, but am using an existing DB.

xjm’s picture

mgifford’s picture

Ahh.. I was wondering that. I guess I had a "pre-apocalypse" copy of D8. Will nix all and rebuild.

khli7’s picture

Hi there,

I am a web designer and have just downloaded the Drupal 8 x-dev from http://drupal.org/node/572834 and have just received the errors after transferring the files into my public_html folder in Filezilla:

Warning: require_once__DIR__/core/includes/bootstrap.inc [function.require-once]: failed to open stream: No such file or directory in /home/mattscom/public_html/index.php on line 11

Fatal error: require_once [function.require]: Failed opening required '__DIR__/core/includes/bootstrap.inc' include_path='.:/usr/lib/php:/usr/local/lib/php' in /home/mattscom/public_html/index.php on line 11

I wish to build up a webpage exactly like back to http://www.01power.net/html5?
Just want to know how to solve this problem.

My online portfolio is http://www.mattcreations.com

Thanks very much,
Matthew

khli7’s picture

Dear Sir/Madam,

I think I should search some books to read and install from http://drupal.org/books such as

1 A Programmer's Guide to Drupal
2 Migrating to Drupal 7
3 Drupal for Designers
4 Drupal 7 Webform Cookbook
5 Drupal 7 Development by Example
6 Drush User's Guide
7 Drupal 7 Multilingual Sites
8 Drupal in Libaries
9 Using Drupal 2nd Edition
10 Drupal Development Tricks for Designers
11 Drupal 7 Mobile Web Development Beginner's Guide
12 Drupal 7 Views Cookbook
13 Business Solutions etc.

Which book do you recommend to read for installing the Drupal 8 in a correct way?

Thanks very much,
Matthew