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) »
  • Database Issues During Upgrade
Pages: [1]

Author Topic: Database Issues During Upgrade  (Read 1368 times)

JuliaKM

  • Guest
Database Issues During Upgrade
March 26, 2008, 07:14:23 am
I'm having a lot of database issues upgrading from CiviCRM 1.9 stable to 2 beta 5 to 2 stable. It appears that not all of the fields in a clean CiviCRM 2 stable install are in my upgraded database. Specifically, I am finding that if someone checks the pay at the door option, then I get a validation error that billing address is required.

I am going to roll-back to 1.9 stable, but in the meantime, I thought that it might be useful for others to post a diff file of my database schema compared to the one in 2 stable. My diff file can found here because it is too large to upload:
http://pastebin.com/fda5d39a

The diff file compares the schema of my database after running the upgrades (pjournal_civicrm), and the schema of 2 stable on a clean install (drupal_civicrm_civicrm).

Please let me know if you know if any scripts that I might have overlooked running during the upgrade process.

Thanks,
Julia

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: Database Issues During Upgrade
March 26, 2008, 11:18:30 am

i'm not sure what i'm looking for in the diff file. Can u be more specific as to what fields in which tables are not present in a upgraded db vs a clean db?

The second issue you raise is: pay later requires billing address in an upgraded db BUT not in a clean db. Can you do a clean upgrade from v1.9 -> v2.0.1 and reproduce the issue again. If so, post back and we'll take a look at it.

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

JuliaKM

  • Guest
Re: Database Issues During Upgrade
March 27, 2008, 08:56:02 am
Solved the problem. It actually was not a database issue.

I had created an additional CiviCRM profile named "Billing Address." As part of that profile, I had a category for state. On the credit card form, state information is collected as an abbreviation (NC). On my form, it was being collected as a full name (North Carolina). Somehow, the billing address was resetting the Authorize.NET billing address.

Once I changed the name of the profile to Business Address, all of the problems that I had thought were database-released were solved.



Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Database Issues During Upgrade

This forum was archived on 2017-11-26.