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) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'
Pages: [1]

Author Topic: branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'  (Read 2806 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'
May 02, 2011, 03:23:03 am
I'm setting up a unit test environment and following http://wiki.civicrm.org/confluence/display/CRMDOC40/Installing+CiviCRM+from+subversion+%28SVN%29+repository

I synced my module/civicrm directory with branch/3.4 on SVN

When I attempt to enable the CiviCRM module, I get a WSOD, and PHP says ...

Mon May 02 19:50:51 2011] [warn] [client 127.0.0.1] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required 'CRM/Core/DAO/Domain.php' (
include_path='.:/var/www/test/sites/unit.test.local/modules/civicrm:/var/www/test/sites/unit.test.local/modules/civic
rm/packages:.:/usr/share/php:/usr/share/pear') in /var/www/test/sites/unit.test.local/modules/civicrm/CRM/Core/BAO/Setting.php on line 19
1, referer: http://unit.test.local/admin/build/modules

When I look at the CRM/Core/DAO directory on SVN and my server, the only file in the folder is Factory.php

I expected branch/3.4 would contain all the files for a valid system. What should I do to get a working system? (I could copy the files from the tarball, but is that kosher?)

Ken
« Last Edit: May 02, 2011, 03:33:00 am by ken »

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'
May 02, 2011, 03:50:45 am
I copied the files from the 3.4.0 tarball without overwriting any of the SVN branch/3.4 files.

I was then able to enable the CiviCRM module

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'
May 02, 2011, 07:16:48 am
Yeap, you need to run GenCode.php to, amongs other things, generate the DAO. Check the wiki about installing from svn.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'
May 05, 2011, 02:46:33 am
Yay Ken - good on you for tackling the Test suite!
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • branch/3.4 - require_once(): Failed opening required 'CRM/Core/DAO/Domain.php'

This forum was archived on 2017-11-26.