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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Moving CiviCRM to a new drupal installation
Pages: [1]

Author Topic: Moving CiviCRM to a new drupal installation  (Read 1009 times)

admsh

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.53
  • PHP version: 5.3.2
Moving CiviCRM to a new drupal installation
June 10, 2011, 05:11:13 am
I've recently upgraded to drupal 7 and civicrm 4. The installation process went fine, and the site is working, but drupal is very slow. Civicrm has no issues as far as I can tell (this is a production site and it's being used heavily).

I've installed a fresh installation of drupal and civi to see if it's the server or something in the drupal update - and the new installation works fast as lightening. So I set out to transfer my civicrm installation to a fresh drupal installation on the same server.

My problem is, it seems the instructions here are out of date, because a lot of things don't work:
wiki.civicrm.org/confluence/display/CRMDOC40/Moving+an+Existing+CiviCRM+Installation+from+one+Drupal+frontend+to+another

For one, the first sql statement refers to a table called "blocks". Doesn't exist - maybe since drupal 7? I see a "block" table, I assume that's what it's supposed to be. Then there's a reference to a "throttle" column in that table - a column that does not exist. This column is referred to again later, under the 6th statement.

Then there's the integration of users, the first statement just doesn't work altogether...

I wonder if anyone has any experience doing this sort of thing, or any suggestions?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Moving CiviCRM to a new drupal installation
June 10, 2011, 05:15:53 am
All you actually have to do (most probably) is:

1. Copy the CiviCRM database
2. Set to NULL the config_backend in civicrm_domain

That should be it.

Try it and see. :)
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.

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: Moving CiviCRM to a new drupal installation
June 10, 2011, 04:03:52 pm
Folks,

I've found that NULLing the config_backend means I have to set up a lot of my Global Settings again.

I find that all I need to do is edit the Drupal settings.php and civicrm.settings.php files to use the desired MySQL credentials, URLs, and directories. After that I clear out the template cache ( rm -r <drupal-root>/sites/default/files/civicrm/templates_c/en_US/%%* )

May I suggest doing that first? You can clear config_backend if that fails.

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Moving CiviCRM to a new drupal installation

This forum was archived on 2017-11-26.