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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Migrating an install from Joomla! to Drupal ... gotchas?
Pages: [1]

Author Topic: Migrating an install from Joomla! to Drupal ... gotchas?  (Read 1829 times)

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Migrating an install from Joomla! to Drupal ... gotchas?
February 15, 2009, 07:50:38 pm
I'm considering migrating a client's Joomla! CiviCRM to Drupal, as they are bumping into some limitations of the former CMS.

Are there any specific gotchas / considerations in moving their CiviCRM for Joomla over to CiviCRM for Drupal? Obviously I'll need to do some magic with the _uf_* tables, but I wonder if there are other considerations.

Would it be more suitable to load a backup of the DBs without the _uf_* tables, and let Drupal/CiviCRM sort out the remapping of users without reference to Joomla's data?

What else would need attending to?

PS. Feel free to relocate if this is more appropriate in another forum; couldn't see which one fitted this enquiry best.
@xurizaemon ● www.fuzion.co.nz

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: Migrating an install from Joomla! to Drupal ... gotchas?
February 15, 2009, 10:01:22 pm
1. To be on safer side, I would empty my civicrm_uf_match table, this table links CMS users with CiviCRM contact.
2. Fix Base url in civicrm.settings.php.
3. You will have fix your resource urls. (If possible easier option would be update config_backend to null)
4. Rebuild your menus. http://<site name>/civicrm/menu/rebuild?reset=1 ( easier option, just empty civicrm_menu table)

HTh

Kurund
Found this reply helpful? Support CiviCRM

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Migrating an install from Joomla! to Drupal ... gotchas?
February 15, 2009, 11:21:09 pm
thanks kurund. i'll report back how it goes :)

cheers
@xurizaemon ● www.fuzion.co.nz

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Migrating an install from Joomla! to Drupal ... gotchas?
February 15, 2009, 11:36:08 pm
Out of interest - what were the limitations that made it worth moving?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

stevenwh.lee

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Re: Migrating an install from Joomla! to Drupal ... gotchas?
June 11, 2009, 06:46:55 pm
I just migrated from joomla 1.5 to drupal 6.12 and migrated civicrm 2.2.3 over as well. I did steps along the lines of what kurund suggested, and it seems to have worked successfully.

I have identified 2 issues. I'm not sure if this is related to the migration, but I'll put it down anyway:

1. In Administer CiviCRM > Configure > Global Settings, I still have "Joomla Integration Settings" in the list of options. I'm not sure if this is expected behaviour. Should it disappear or change to "Drupal Integration Settings"?

2. In CiviEvent, I clicked "Configure" on an existing event or a newly created event. So far so good. But in that next screen, half of the links (Event Information and Settings, Event Location, Event Fees, Online Registration, Tell a Friend) don't work. The problem I can see is the url is missing "civicrm/admin/event" before the "?", e.g. http://<home>/?reset=1&action=update&id=11&subPage=Location. I don't know if this is a CiviEvent bug or a problem with my migration. I tried upgrading to 2.2.5 but it didn't resolve the issue.

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: Migrating an install from Joomla! to Drupal ... gotchas?
June 11, 2009, 08:01:56 pm
Quote
1. In Administer CiviCRM > Configure > Global Settings, I still have "Joomla Integration Settings" in the list of options. I'm not sure if this is expected behaviour. Should it disappear or change to "Drupal Integration Settings"?
Nope. You will have to manually update this settings.

Quote
2. In CiviEvent, I clicked "Configure" on an existing event or a newly created event. So far so good. But in that next screen, half of the links (Event Information and Settings, Event Location, Event Fees, Online Registration, Tell a Friend) don't work. The problem I can see is the url is missing "civicrm/admin/event" before the "?", e.g. http://<home>/?reset=1&action=update&id=11&subPage=Location. I don't know if this is a CiviEvent bug or a problem with my migration. I tried upgrading to 2.2.5 but it didn't resolve the issue.
Can you confirm if you have correct value for $civicrm_root and CIVICRM_UF_BASEURL in civicrm.settings.php

HTh
Kurund
Found this reply helpful? Support CiviCRM

stevenwh.lee

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Re: Migrating an install from Joomla! to Drupal ... gotchas?
June 11, 2009, 08:14:29 pm
Quote
Quote
1. In Administer CiviCRM > Configure > Global Settings, I still have "Joomla Integration Settings" in the list of options. I'm not sure if this is expected behaviour. Should it disappear or change to "Drupal Integration Settings"?
Nope. You will have to manually update this settings.
Do you mean update this setting manually in civicrm.settings.php?
I already have this:
define( 'CIVICRM_UF'               , 'Drupal'        );
Is there something else?

Quote
Quote
2. In CiviEvent, I clicked "Configure" on an existing event or a newly created event. So far so good. But in that next screen, half of the links (Event Information and Settings, Event Location, Event Fees, Online Registration, Tell a Friend) don't work. The problem I can see is the url is missing "civicrm/admin/event" before the "?", e.g. http://<home>/?reset=1&action=update&id=11&subPage=Location. I don't know if this is a CiviEvent bug or a problem with my migration. I tried upgrading to 2.2.5 but it didn't resolve the issue.
Can you confirm if you have correct value for $civicrm_root and CIVICRM_UF_BASEURL in civicrm.settings.php
I'm pretty sure this it's right - unless it needs a trailing / at the end:
$civicrm_root = '/home/gospelgr/public_html/sites/all/modules/civicrm';
define( 'CIVICRM_UF_BASEURL'      , 'http://www.gospelgrowth.com.my/' );

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: Migrating an install from Joomla! to Drupal ... gotchas?
June 11, 2009, 08:20:19 pm
Quote
Do you mean update this setting manually in civicrm.settings.php?
I already have this:
define( 'CIVICRM_UF'               , 'Drupal'        );
Is there something else?

You will also need to manually update settings in Administer CiviCRM > Configure > Global Settings

Can you jump on #civicrm irc channel ( http://embed.mibbit.com/?server=irc.freenode.net&channel=%23civicrm&forcePrompt=true )will be easier to debug..

Kurund
Found this reply helpful? Support CiviCRM

stevenwh.lee

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
Re: Migrating an install from Joomla! to Drupal ... gotchas?
June 11, 2009, 09:27:00 pm
Kurund checked it out and found that the solution was to update the database:

UPDATE `civicrm_db`.`civicrm_domain`
SET `config_backend` = NULL
WHERE `civicrm_domain`.`id` = 1
LIMIT 1;


The civicrm menus then disappeared from the sides because it was fixed for joomla. So to get them back I needed to give them positions using blocks in drupal.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Migrating an install from Joomla! to Drupal ... gotchas?

This forum was archived on 2017-11-26.