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 »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Upgrade possible with old database?
Pages: [1]

Author Topic: Upgrade possible with old database?  (Read 1412 times)

ancientwizard

  • Guest
Upgrade possible with old database?
April 09, 2009, 01:03:37 pm
Hi,

I've been using CiviCRM 2.0.7 with Drupal 5.12.  Nothing custom.  Generally good results but ...

Running into some serious glitches with the integration.  Civi seems to be creating extra nodes for users in drupal and this is having consequences.

Rather than trying to debug, I'm thinking of upgrading to the latest CiviCRM as a standalone ... since, for many reasons, I can't upgrade my drupal to 6.x.

Can the standalone version be installed in such a way that it uses the database created by CiviCRM 2.0.7 or do I need to export all the data and re import into a fresh database?

Perhaps a better question is what is the best way to upgrade an existing drupal version civicrm installation to a current standalone version?

Thanks

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade possible with old database?
April 09, 2009, 02:40:51 pm
Quote
Running into some serious glitches with the integration.  Civi seems to be creating extra nodes for users in drupal and this is having consequences.
Could you explain a bit. CiviCRM doesn't do any writing on drupal db other than adding users (that too using drupal apis).

Quote
Can the standalone version be installed in such a way that it uses the database created by CiviCRM 2.0.7 or do I need to export all the data and re import into a fresh database?
Yes possible. Check this post - http://forum.civicrm.org/index.php/topic,4976.0.html.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

ancientwizard

  • Guest
Re: Upgrade possible with old database?
April 09, 2009, 03:06:13 pm
Re: problems with integration

Thankyou so much for responding quickly.
One issue I am having is directly related to what you've described.

1) When a new user registers on my Drupal website, two users are created.  presumably one of those is created by CiviCRM.  I tried to disable the CiviCRM profile from the Drupal registration page, but then the new drupal user information didn't get entered in civicrm.  I tried the synchronize users functionality, but then I got a repeat of the issue below in #2.  The extra nodes created in drupal relate to my installation.  I am using nodeprofile module .... so anytime a new user is created, a node is automatically created for them.  That is on the drupal side and has nothing to do with CiviCRM.

Is there another way to disable the creation of drupal users by in CiviCRM?
Or have CiviCRM completely take over the registration process so that drupal only registers a new user in response to CiviCRM?
Or some other workflow that really does work? 
Is there a usecase that is served by having Drupal and CiviCRM both create users or am I missing a key configuration step somewhere?

2) Because of what I understand (from earlier comment by Lobo) is an incompatibility between CiviCRM and Drupal database structures, the username information for my Drupal users is not brought forward into CiviCRM.  My username field contains actual first and last names for the user.  CiviCRM assumes that the drupal username field is not useful as real first or last names and thus defaults to using the email address for the CiviCRM last name field.  This is not an acceptable option for my usecase.

3) Drupal Organic Groups are only imported/synchronized with CiviCRM on the first install as far as I can tell.  In my system, groups are created often and need to be synchronized with CiviCRM.

Thanks again

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade possible with old database?
April 09, 2009, 10:31:10 pm
Quote
Is there another way to disable the creation of drupal users by in CiviCRM?
No, this 'll need fixing the code ( OR do not set profiles to create user if such setting is available for a particular case ).

Quote
Or have CiviCRM completely take over the registration process so that drupal only registers a new user in response to CiviCRM?
In civicrm context creating a user is 3 step process - creating drupal user + creating civicrm contact + linking drupal user with civicrm contact.
Creating user in drupal remains unaffected.

Quote
My username field contains actual first and last names for the user. CiviCRM assumes that the drupal username field is not useful as real first or last names and thus defaults to using the email address for the CiviCRM last name field.  This is not an acceptable option for my usecase.
I think you could just populate first and last name based on username on the fly using javascript, and let rest of the behavior go as it goes.

Quote
Drupal Organic Groups are only imported/synchronized with CiviCRM on the first install as far as I can tell.  In my system, groups are created often and need to be synchronized with CiviCRM.
Not possible. After all thats what module is meant to do.
« Last Edit: April 09, 2009, 10:33:47 pm by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Upgrade possible with old database?

This forum was archived on 2017-11-26.