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) »
  • Upgrade from 2.0 to 2.1 in order to get after 2.2
Pages: [1]

Author Topic: Upgrade from 2.0 to 2.1 in order to get after 2.2  (Read 1177 times)

mirog

  • Guest
Upgrade from 2.0 to 2.1 in order to get after 2.2
September 25, 2009, 01:37:01 am
Hi,
I'm just upgrading both drupal from 5 to 6 (done) and civicrm from 2.0 to 2.1 and 2.2.
And i have a bug after i unpack 2.1 files into civicrm module directory.
When i want to run the script http://~/sites/all/modules/civicrm/install/upgrade.php?reset=1 this show a bug about foreign key.
I allready dump mysql into a file that countain on data and rebuild infrastructure from a 2.0 certified but this give me an error when i re import datas.  :'(

here is the actual error from the script upgrade.php

Code: [Select]
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 127

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php on line 131

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    Database consistency check failed. FK constraint names not in the required format. Please rebuild your 2.0 database to ensure schema integrity.

Thanks for any reply

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 2.0 to 2.1 in order to get after 2.2
September 25, 2009, 06:35:56 am
Check these posts -
http://forum.civicrm.org/index.php/topic,2753.0.html
http://forum.civicrm.org/index.php/topic,6960.msg31030.html#msg31030

And you can search for more.
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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 2.0 to 2.1 in order to get after 2.2

This forum was archived on 2017-11-26.