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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Fatal error: Class 'CRM_Core_DAO_Domain' not found...
Pages: [1]

Author Topic: Fatal error: Class 'CRM_Core_DAO_Domain' not found...  (Read 1238 times)

WeChewie

  • Guest
Fatal error: Class 'CRM_Core_DAO_Domain' not found...
March 20, 2010, 07:23:17 am
I am getting this error when I click on the first step in the 'Configuration Checklist' after installing CiviCRM:

Code: [Select]
Fatal error: Class 'CRM_Core_DAO_Domain' not found in /path/to/drupal/sites/all/modules/backend/CRM/Admin/Form/Setting/Localization.php  on line 60
It's the 'Localization' step. This is the 3rd time I've installed CiviCRM and the first time I've encountered this error (once on my dev box, once as a test on this same hardware, and this third time)

I did some clicking around, and the system appeared to have installed correctly. The only difference between this install and an earlier test install I did on this same hardware is that for the earlier two installs I had the installer add sample data into the system as part of the installation routine. This time, however, I said no, since the plan is to load production data into this install.

I also changed the name of the civicrm directory inside the 'sites/all/modules/' directory to "backend" to match our internal name for this project, but I don't see why that would generate a localization error.

I did some searches on the web and in the forum for that error message but got no useful hits.

Can anyone shed some light on this? Thanks.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Class 'CRM_Core_DAO_Domain' not found...
March 20, 2010, 12:12:22 pm
What's your CiviCRM version? Your profile indicate 3.0, so may be try installing latest 3.1.x

Kurund
Found this reply helpful? Support CiviCRM

WeChewie

  • Guest
Re: Fatal error: Class 'CRM_Core_DAO_Domain' not found...
March 20, 2010, 08:10:50 pm
Quote from: Kurund Jalmi on March 20, 2010, 12:12:22 pm
What's your CiviCRM version? Your profile indicate 3.0, so may be try installing latest 3.1.x

Kurund

The info in my profile is actually outdated. The CiviCRM version is actually 3.1.

I went through the other steps in the configuration wizard and they were all okay (it seemed). it looks like this may just be a bug in the localization?

But what worries me is no one else seems to have encountered it.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Class 'CRM_Core_DAO_Domain' not found...
March 21, 2010, 03:24:32 am
Checked on latest 3.1.3, seems to be working fine.

You can add
require_once 'CRM/Core/DAO/Domain.php';

on line 60 /path/to/drupal/sites/all/modules/backend/CRM/Admin/Form/Setting/Localization.php

HTh

Kurund
Found this reply helpful? Support CiviCRM

WeChewie

  • Guest
Re: Fatal error: Class 'CRM_Core_DAO_Domain' not found...
March 22, 2010, 06:08:50 pm
Quote from: Kurund Jalmi on March 21, 2010, 03:24:32 am
Checked on latest 3.1.3, seems to be working fine.

You can add
require_once 'CRM/Core/DAO/Domain.php';

on line 60 /path/to/drupal/sites/all/modules/backend/CRM/Admin/Form/Setting/Localization.php

HTh

Kurund

Thanks for the info, but I ended up reinstalling. I took a look through the source and it seems like there are a lot of hardcoded paths in CiviCRM (I even noticed one at the bottom of 'CRM/Core/DAO/Domain.php')

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Fatal error: Class 'CRM_Core_DAO_Domain' not found...

This forum was archived on 2017-11-26.