CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 09:00:27 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Fatal error: Class 'CRM_Core_DAO_Domain' not found...  (Read 264 times)
WeChewie
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 3.1
CMS: Drupal6
MySQL: 5.0.51
PHP: 5.2.6

Posts: 18


View Profile
« on: March 20, 2010, 06:23:17 am »

I am getting this error when I click on the first step in the 'Configuration Checklist' after installing CiviCRM:

Code:
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.
Logged
Kurund Jalmi
Administrator
I’m (like) Lobo ;)
*****

Karma: 101
Offline Offline

CiviCRM: v3.1, v3.2, trunk
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: 5.1.48
PHP: 5.2.13

Posts: 2771



View Profile WWW
« Reply #1 on: March 20, 2010, 11:12:22 am »

What's your CiviCRM version? Your profile indicate 3.0, so may be try installing latest 3.1.x

Kurund
Logged

Do you like CiviCRM? If so, please consider making a donation.
WeChewie
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 3.1
CMS: Drupal6
MySQL: 5.0.51
PHP: 5.2.6

Posts: 18


View Profile
« Reply #2 on: March 20, 2010, 07:10:50 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.
Logged
Kurund Jalmi
Administrator
I’m (like) Lobo ;)
*****

Karma: 101
Offline Offline

CiviCRM: v3.1, v3.2, trunk
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: 5.1.48
PHP: 5.2.13

Posts: 2771



View Profile WWW
« Reply #3 on: March 21, 2010, 02: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
Logged

Do you like CiviCRM? If so, please consider making a donation.
WeChewie
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 3.1
CMS: Drupal6
MySQL: 5.0.51
PHP: 5.2.6

Posts: 18


View Profile
« Reply #4 on: March 22, 2010, 05:08:50 pm »

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')
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM