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) »
  • Migrating from Drupal to WordPress
Pages: [1]

Author Topic: Migrating from Drupal to WordPress  (Read 488 times)

nickcrane

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.6.13
  • PHP version: 5.3.3
Migrating from Drupal to WordPress
July 03, 2014, 07:56:57 am
I have inherited support for a Drupal 6.2 & CiviCRM 3.3.5 application and have been asked to migrate it to the latest version of WordPress & CiviCRM.

I have successfully upgraded through the following versions of CiviCRM (with Drupal 6.2): 3.3.5 -> 3.4 -> 4.1.0 -> 4.1.1 -> 4.1.2 -> 4.1.3 -> 4.1.4 -> 4.1.5 -> 4.1.6 -> 4.2.0.

All upgraded with success messages via CiviCRM interface.

I've followed http://wiki.civicrm.org/confluence/display/CRMDOC/Migrating+from+Drupal+to+WordPress instructions for my 4.2.0 CiviCRM db schema.

Following "Alternatively you can restore your CiviCRM database somewhere else and modify CIVICRM_DSN in <drupal_root>/sites/default/civicrm.settings.php to point to this new database." my application crashed.

I have subsequently compared each upgraded Drupal CiviCRM schema db dump file with the equivalent WordPress CiviCRM schema db  dump file with Vim and there are a lot of inconsistency between the same version schemas from the two environments.

"Alternatively you can restore your CiviCRM database somewhere else and modify CIVICRM_DSN in <drupal_root>/sites/default/civicrm.settings.php to point to this new database." implies that the database schemas will be the same.

I have ensured that "If you are going to be importing and overwriting your older CiviCRM database over the newly installed, blank CiviCRM database, adding IF NOT EXISTS clauses to the CREATE TABLE statements will help the import. DROP TABLE statements will fail because of foreign key restraints." has been employed when creating a db dump. I have also TRUNCATED all tables to see if it was an issue with the data but I still get the same error message in the log files when the application crashes.

Should I be able to point a Version X Wordpress CiviCRM application at an upgraded Drupal CiviCRM MySQL db of the same version?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Migrating from Drupal to WordPress
July 04, 2014, 07:14:09 am
Quote from: nickcrane on July 03, 2014, 07:56:57 am
my application crashed.

What precisely happened? What error? What message? What page?

Quote from: nickcrane on July 03, 2014, 07:56:57 am
Should I be able to point a Version X Wordpress CiviCRM application at an upgraded Drupal CiviCRM MySQL db of the same version?

Not sure precisely what you are asking. Your two CiviCRM versions must be the same, but then you can switch CMSs, but there are a few settings you may need to reset, as mentioned in the Wiki.
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) »
  • Migrating from Drupal to WordPress

This forum was archived on 2017-11-26.