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) »
  • Using Two drupal installs to access the same CiviCRM will this cause trouble?
Pages: [1]

Author Topic: Using Two drupal installs to access the same CiviCRM will this cause trouble?  (Read 1682 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Using Two drupal installs to access the same CiviCRM will this cause trouble?
December 08, 2007, 11:21:27 am
One is the install I use to test modules the other is the live drupal.
???
Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Using Two drupal installs to access the same CiviCRM will this cause trouble
December 08, 2007, 11:28:56 am

most likely not, the only potential issue is the uf_match table. you might want to share the drupal user table between the test and production

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

msn

  • I post frequently
  • ***
  • Posts: 152
  • Karma: 6
  • Please talk to the other site
Re: Using Two drupal installs to access the same CiviCRM will this cause trouble?
December 09, 2007, 08:14:13 am
This Q was also an issue for me.
CiviCRM's contacts, events, member, ... should be the same in both domains: Shared codebase + content + contacts and as part of the contacts: different drupal users (user setup by admin).
I did a test the last week (and had no problems) and I found some documentation:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+for+Drupal+-+Configure+Multi-site+Installations.

I made a setup with 1 db with 2 drupal domains:
For both domains the civicrm.settings.php:
- 2 different drupal db
- 1 civicrm db
- I pointed to the same compiledir: 1 compile dir

In CiviCRM: setup the upload directories and base url's in 1 domain (for each domain the same), so there is 1 'main' url and 1 upload directory for both domains.

I did not test (yet) synchronising drupal users (uf_match table) and did not make a different domain ID in civicrm.settings.php. The only risk there is (??) that a user has different email adresses in his user accounts and therefore civicrm makes 2 contacts for 1 person.  In my case it's an admin's setup, so when making a users he/she has to check the contacts database.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Using Two drupal installs to access the same CiviCRM will this cause trouble?

This forum was archived on 2017-11-26.