CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Failed opening required 'DB.php'
Pages: [1]

Author Topic: Failed opening required 'DB.php'  (Read 7222 times)

rweiss

  • Guest
Failed opening required 'DB.php'
May 10, 2008, 07:41:37 am
I am installing CiviCRM in the latest Drupal. The pre-install check said everything was clear to go, but in the process I got this series of messages:


Warning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/42online.org/httpdocs/sites/all/modules/civicrm/drupal/install/civicrm.php on line 17

Warning: mkdir() [function.mkdir]: Permission denied in /var/www/vhosts/42online.org/httpdocs/sites/all/modules/civicrm/drupal/install/civicrm.php on line 22

Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/42online.org/httpdocs/sites/all/modules/civicrm/drupal/install/civicrm.php on line 67

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/share/pear:/usr/share/php:/var/www/vhosts/mommyperks.com/httpdocs/openx/lib/pear') in /var/www/vhosts/42online.org/httpdocs/sites/all/modules/civicrm/drupal/install/civicrm.php on line 67

The fatal error line references another site on the same server. Not sure what that is all about.

Any ideas?

Rick

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Failed opening required 'DB.php'
May 10, 2008, 11:21:50 am

make sure that the webserver can create directories in: /var/www/vhosts/42online.org/httpdocs/files/

the install thinks it has permissions to do so, but it fails when it actually executes the mkdir commands

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Failed opening required 'DB.php'

This forum was archived on 2017-11-26.