2

I am on CiviCRM 4.4.9. I have followed the instructions for "Moving an Existing Installation to a New Server." When I open the Civicrm in the new location, it appears that it is setting the default organization to my contact (my contact ID is 1) instead of the organization's contact ID which is 26299. My contact has about 58K of activities; the organization's activities are 2.

How do I change the default organization to the proper contact?

2

You should be able to set it in Administer > Communications > Organization Address and Contact Info, as per: Wrong default organisation

ETA: As I just went through the process of transferring to a new server, I've realised that the instructions result in your original civicrm_domain being skipped in the MySQL dump. A fresh install of CiviCRM on the new server will assign the contact id 1 to the default organisation in the civicrm_domain table - you can get around his by either including civicrm_domain in the initial SQL dump, or by editing the contact_id field in the new database's civicrm_domain table.

| improve this answer | |
  • Yeah, I know. The problem is not the address, but all the historical data including the activities is for the wrong contact. The original CiviCRM install has contact id 26299 as the default organization, so there must be a way to set the default organization to a certain contact ID. – HarryJ Jan 28 '16 at 14:00
  • 1
    Set it as above and if you end up with two identical orgs, merge them. – Laryn - CEDC.org Jan 28 '16 at 15:20
  • That might be a work-around. I just don't understand why CiviCRM sets the default organization as an individual's record. Shouldn't it only set the default organization as an organization-type contact? – HarryJ Jan 28 '16 at 20:43
  • @HarryJ, I haven't seen that happen so don't have specific insight -- do you share an email address with the org? But a new server shouldn't affect the database in that way. – Laryn - CEDC.org Jan 29 '16 at 5:11
  • 1
    @Laryn: During the testing, my personal record got changed to the default organization. Using the link above, after changing the default organization to the proper record, I was able to change my personal record using the link you provided. Thank you both very much. – HarryJ Feb 3 '16 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.