Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.5
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
Description
Not sure if this is an artifact of my configuration or a valid bug. During CLI install, the include path is not set up, but we require DB/mysql.php using an absolute path. When mysql.php attempts to require DB/common.php, fail ensues:
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: Fatal error: require_once(): Failed opening required 'DB/common.php' (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/crm/civicrm/packages/DB/mysql.php on line 30
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns:
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: Call Stack:
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: 0.0009 639024 1.
() /vagrant/puppet/files/civicrm-install.php:0
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: 0.0041 781688 2. civicrm_main() /vagrant/puppet/files/civicrm-install.php:33
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: 0.0066 783880 3. civicrm_source() /vagrant/crm/civicrm/install/civicrm.php:83
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: 0.0130 1380232 4. DB::connect() /vagrant/crm/civicrm/install/civicrm.php:122
notice: /Stage[main]/Crm::Civicrm/Exec[civicrm setup]/returns: 0.0169 1663304 5. include_once('/vagrant/crm/civicrm/packages/DB/mysql.php') /vagrant/crm/civicrm/packages/DB.php:537