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) »
  • new server problems after clearing caches and nulling config backend.
Pages: [1]

Author Topic: new server problems after clearing caches and nulling config backend.  (Read 853 times)

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
new server problems after clearing caches and nulling config backend.
October 31, 2011, 09:45:06 pm
I am trying to clean up my install from another server.  IT seems that everything works fine until I try to send a mail out.  All the links go to the old IP.  Which is no longer active.  When I clear all the caches and null the appropriate tables in the database. I get the following error.
Fatal error: Call to undefined method CRM_Utils_System_Drupal::cmsRootPath() in /home/xxxx/sites/all/modules/civicrm/CRM/Core/Config/Defaults.php on line 171

not sure what I am doing wrong
Success is the ability to go from one failure to another with no loss of enthusiasm.

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: new server problems after clearing caches and nulling config backend.
October 31, 2011, 10:30:08 pm
Can you please update forum profile with CiviCRM version etc. Also check if you have configured your outbound email settings correctly. check http://<sitename>/civicrm/admin/setting/smtp?reset=1

HTh
Kurund
Found this reply helpful? Support CiviCRM

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 09:56:31 am
Did this site change servers? If so, did you run:

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 10:06:42 am
Yes it did change servers ... the problem is when I ran
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
Thats when the site crashed and error showed up. 
Success is the ability to go from one failure to another with no loss of enthusiasm.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 10:32:27 am
Hmm. Are you certain all settings in civicrm.settings.php are correct?

You wrote:

> null the appropriate tables

What tables does that mean precisely?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 11:44:14 am
The settings file is pointed to my domain as expected.   Although strange occurrences happen in civimail [the old adrress appears when I link files] and create hyperlinks to the home page. 
'nulling appropriate tables' refers to  UPDATE `civicrm_domain` SET `config_backend`=NULL ;
Success is the ability to go from one failure to another with no loss of enthusiasm.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 11:53:39 am
Are you certain that the directories are all correct also? One way to insure this is to remove that file, create a new DB and install CiviCRM there and then point the "good" civicrm.settings.php file to your old DB.

Regarding the CiviMail links issue, I did see a similar issue on another D6 site that was transferred. I think there she just fixed the links manually. I forgot exactly where they were however...
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: new server problems after clearing caches and nulling config backend.
November 01, 2011, 03:39:22 pm
Thanks Hershel and others. 

I was running 3.2 and upgraded to 3.4.7 and this resolved the issues. 
« Last Edit: November 02, 2011, 02:41:37 pm by markimus »
Success is the ability to go from one failure to another with no loss of enthusiasm.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • new server problems after clearing caches and nulling config backend.

This forum was archived on 2017-11-26.