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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Fatal Error : Class 'CRM_Core_DAO_Domain' not found
Pages: [1]

Author Topic: Fatal Error : Class 'CRM_Core_DAO_Domain' not found  (Read 2281 times)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Fatal Error : Class 'CRM_Core_DAO_Domain' not found
October 28, 2010, 12:44:06 am
I suddenly get this error when I do Global Settings/Localization. I have seen a former post with the same problem, where Kurund suggested inserting a require_once for the class just before the call (which is in CRM_Admin_Form_Setting_Localization.php). I will do this, but that fixes the immediate problem, not the cause of it?

Also, although I do not get the error anymore, my locale language seems to be broken as all my templates are suddenly in English. Is there something wrong with my civicrm_domain_table?
« Last Edit: October 28, 2010, 12:52:43 am by Erik Hommel »
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 02, 2010, 08:03:50 am
Quote from: Erik Hommel on October 28, 2010, 12:44:06 am
I suddenly get this error when I do Global Settings/Localization. I have seen a former post with the same problem, where Kurund suggested inserting a require_once for the class just before the call (which is in CRM_Admin_Form_Setting_Localization.php). I will do this, but that fixes the immediate problem, not the cause of it?

That’s on CiviCRM 3.2.3, right?

This is the right solution, it means we try to use a class without loading its file; I committed the fix in r30484.

Quote
Also, although I do not get the error anymore, my locale language seems to be broken as all my templates are suddenly in English. Is there something wrong with my civicrm_domain_table?

Hm, is it possible that your install has switched to English (because of the above bug)?

Try visiting the page with the require_once fix applied and see whether changing the locale back to Dutch fixes the problem.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 02, 2010, 09:15:31 am
Hi Piotr,
yes it is on 3.2.3 and I did try with the require_once fix applied, changed the language back to Dutch, no result. Changed the language to English, then back to Dutch, no difference! I will have a look at CRM_Core_BAO_Setting::retrieve().
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 09, 2010, 05:04:58 am
Hi Piotr,
I had a look in CRM_Core_BAO_Setting::retrieve. All I can see is that $lcMessages and $tsLocale are set to nl_NL, which I think is as it should be. But the lot is still in English....any more suggestions of what could be wrong?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 12, 2010, 07:17:51 am
Quote from: Erik Hommel on November 09, 2010, 05:04:58 am
I had a look in CRM_Core_BAO_Setting::retrieve. All I can see is that $lcMessages and $tsLocale are set to nl_NL, which I think is as it should be.

Hm, this is strange – this (and the config you sent me) strongly suggest that everything should work.

Quote
But the lot is still in English....any more suggestions of what could be wrong?

Can you overwrite your civicrm.mo file with the one from the repo?

Do you see any strings translated to Dutch at all, or is everything in English?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 12, 2010, 08:18:36 am
That might help, I will give it a go. And some strings are in Dutch, so it might well be that the mo is broken....
Having said that, Erik Brouwer just told me he already did that yesterday. Are you available on IRC Monday or Tuesday?
Erik
« Last Edit: November 12, 2010, 08:34:02 am by Erik Hommel »
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 16, 2010, 09:29:34 am
Quote from: Erik Hommel on November 12, 2010, 08:18:36 am
Are you available on IRC Monday or Tuesday?

Argh, I was available both yesterday and today. Catch me tomorrow and we’ll try to fix it. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 16, 2010, 09:34:29 am
No probs Piotr, I am up to my neck in priorities too....and this is no 3 on the list. How about Monday?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 16, 2010, 12:24:24 pm
Quote from: Erik Hommel on November 16, 2010, 09:34:29 am
How about Monday?

I have university duties on Monday morning, but I should be on IRC (as chastell) from 1 pm CET till evening (and you can ping me anytime you see me there, of course).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Fatal Error : Class 'CRM_Core_DAO_Domain' not found
November 16, 2010, 11:13:53 pm
OK, I will catch you then.....yesterday we had about 5 minutes when everything was Dutch again, and then it reverted back to English. There is magic in CiviCRM!!!
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Fatal Error : Class 'CRM_Core_DAO_Domain' not found

This forum was archived on 2017-11-26.