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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Orphaned Recurring Contribution Records Problem
Pages: [1]

Author Topic: Orphaned Recurring Contribution Records Problem  (Read 488 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Orphaned Recurring Contribution Records Problem
December 18, 2013, 08:34:44 am
I have a D7 CiviCRM 4.2.6 site with a bad DB shema so I rebuilt it and ran the CiviCRM 4.4.3 upgrader and got:

Quote
Sorry but we are not able to provide this at the moment.
Oops, it looks like you have orphaned recurring contribution records in your database. Before this upgrade can complete they will need to be fixed or deleted. You can review steps to correct this situation on the documentation wiki.

so I ran the SQL and got:

Quote
SQL query:

UPDATE civicrm_contribution_recur contri_recur LEFT JOIN civicrm_financial_type ON contri_recur.financial_type_id = civicrm_financial_type.id SET contri_recur.financial_type_id = NULL WHERE civicrm_financial_type.id IS NULL AND contri_recur.financial_type_id IS NOT NULL;

MySQL said:
#1146 - Table 'dev_civicrm.civicrm_financial_type' doesn't exist

I found a newer SQL here http://issues.civicrm.org/jira/browse/CRM-13446 but it fails on the same error. :(

Any suggestions how to proceed?
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.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Orphaned Recurring Contribution Records Problem
December 29, 2013, 07:16:12 am
Upgrading CiviCRM 4.3.4 first and then to 4.4.3 worked. :)
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Orphaned Recurring Contribution Records Problem

This forum was archived on 2017-11-26.