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) »
  • Upgraded to 3.3 from 3.2.2, then migrated old db, getting
Pages: [1]

Author Topic: Upgraded to 3.3 from 3.2.2, then migrated old db, getting  (Read 1239 times)

Kelly Bell

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.2, 3.3, 3.4
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 04, 2011, 09:03:21 pm
I installed a fresh Drupal 6 and Civi 3.3, and then needed to migrate the data from my old Civi/Drupal db (3.2.2). I was trying to follow the instructions for moving servers from here: (won't let me post external links - how stupid is that!?!?)

I also read this post which seemed related, but again it was just removing the templates_c directory again.(again - no links!)

The only post I can find says the same thing I've already tried about 14 times - delete the templates_c folder. But it's not working. The directories are all writeable, so it's not a permissions thing. These are the errors I'm getting:

Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in CRM_Core_BAO_Setting::formatParams() (line 154 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
...this repeats many more times...
Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in CRM_Core_BAO_Setting::formatParams() (line 158 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: Invalid argument supplied for foreach() in CRM_Core_BAO_Setting::add() (line 96 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php).
Warning: Invalid argument supplied for foreach() in CRM_Core_Config->_initVariables() (line 426 of /var/www/pantheon/dev/sites/all/modules/civicrm/CRM/Core/Config.php).


Is there anything you can do to help me?
Thank you,
Kelly Bell

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 05, 2011, 03:27:01 am
I don't quite follow what you did. If you installed a fresh CiviCRM 3.3 and then migrated your 3.2 database, you need to then run the upgrade script to upgrade the database: civicrm/upgrade?reset=1

Did you do that?
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.

Kelly Bell

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.2, 3.3, 3.4
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 16, 2011, 09:43:16 pm
Yes, I did. And then I got the error that says, "you've done a partial upgrade", in other words, a giant FAIL without any helpful error messages.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 17, 2011, 01:47:21 am
Most likely you got that error because you didn't completely empty the fresh 3.3 DB. What I recommend is that you DROP the 3.3 DB completely (not just DROP the tables) and then recreate it and then import your 3.2 and then upgrade.
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.

Kelly Bell

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.2, 3.3, 3.4
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 28, 2011, 03:24:34 am
You hit it - no, I did NOT drop all the civi tables after the 3.3 initial install. I did the import (and then ran upgrade) on top of it after dropping the CONTENTS of the tables only, leaving the tables themselves in place. This was very very helpful - THANK YOU!
-Kelly Bell

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgraded to 3.3 from 3.2.2, then migrated old db, getting
April 28, 2011, 04:00:39 am
Happy to help. Let us know if we can assist with anything else.
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) »
  • Upgraded to 3.3 from 3.2.2, then migrated old db, getting

This forum was archived on 2017-11-26.