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) »
  • Drupal/civiCRM problems moving servers
Pages: [1]

Author Topic: Drupal/civiCRM problems moving servers  (Read 1430 times)

bob_bingham

  • Guest
Drupal/civiCRM problems moving servers
August 05, 2009, 06:05:50 pm
Hi All,
I'm about at wits end with this. I'm moving a development server (so this thing will have to get moved again to a live server, and I expect loads of data migration to catch the development server up with the live server once that happens.) So understanding and mastering moving data around from Database to database is pretty important for me.

So I have 2.2.7 running as a module of Drupal. When the data has been moved from the other server with phpmyadmin I get a white screen of death whenever the civicrm module is enabled and I request a webpage from the site. If I start fresh and have civicrm run its install script, everything works fine, but I need the data, so I migrate the data and get Tons of foreign key errors, so I go through each table one by one trying to resolve the foreign key issues and once all the data is in - low and behold, the white screen of death....

So a few questions:
-White screen of Death: I'd like to see an error about what is going on. the Browser would a nice place to see it, as far as I can tell the CiviCRM logs and the apache log isn't giving me the database errors.

What's up with all the foreign key dependencies? This is really making data migration difficult......anyone have an idea of an efficient way to deal with this?

Thanks for any help!




Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal/civiCRM problems moving servers
August 06, 2009, 04:53:10 am
This might help: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Kurund
Found this reply helpful? Support CiviCRM

bob_bingham

  • Guest
Re: Drupal/civiCRM problems moving servers
August 06, 2009, 08:43:43 am
Thanks for the response.
Actually, that page was a bit frustrating:
This url: http://<drupal_site>/civicrm/admin/setting/updateConfigBackend?reset=1

Depends on Drupal being able to run with the civicrm module active. Problem is my migration of Civicrm crashes Drupal when the civicrm module is active.

So is there a URL to the update that doesn't require the module to be active in Drupal?

Also: Any idea how to obtain the Database errors I am assuming that are causing the whole thing? I'd love them to show up in the browser window, and if I can't get that, then a log is fine, but for some reason, the logs are not logging the events that are causing the blank screens.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Drupal/civiCRM problems moving servers
August 06, 2009, 04:32:48 pm
Assuming you've modified the civicrm.settings.php file to reflect any changes in directory structure / path to CiviCRM code... then the easiest way to reset things is to issue this SQL command:

UPDATE civicrm_domain set config_backend = NULL;

Some more discussion here:
http://forum.civicrm.org/index.php?topic=6150.0
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Drupal/civiCRM problems moving servers

This forum was archived on 2017-11-26.