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) »
  • 3.1 > 3.3 upgrade with additional server, migration problem
Pages: [1]

Author Topic: 3.1 > 3.3 upgrade with additional server, migration problem  (Read 688 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
3.1 > 3.3 upgrade with additional server, migration problem
March 15, 2011, 06:04:47 pm
I have been running 3.1 w/ Drupal 6 on a PHP 5.2 server. The server essentially went up in flames, and we were forced on short notice to bring in a new server. The server is great except it's PHP 5.3, so we've got to upgrade Civi (we've been waiting because we have quite a few custom modules reliant on Civi, as well as some custom ubercart integration with it).

I've now got a dev server on a separate url up and running with my Drupal site on PHP 5.3. Now I want to upgrade Civi. Problem is, config_backend db var still has all the configs set to my live site url. And if I try to run the script to fix it (/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1), I can't submit that page of course because of PHP 5.3 not being compatible with Civi 3.1 and I get a fatal error. And if I set config_backend = NULL and clear my templates and all, it doesn't take on the Civi side again and after hitting any other page that var gets set to 'N;' in the db instead of getting filled correctly, and my Global Settings Resource URLs and directories still reflect the live site.

How can I proceed so that I can test my upgrades on this dev server?

Thanks so much,
Emily

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: 3.1 > 3.3 upgrade with additional server, migration problem
March 15, 2011, 07:53:05 pm

i would do the following:

bring up a clean drupal + civi 3.3.x install. once working switch the civicrm db to point to the 3.1 db. run the upgrade script and then fix the config_backend

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 3.1 > 3.3 upgrade with additional server, migration problem

This forum was archived on 2017-11-26.