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 »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Contacts ALL GONE after Moving Existing Installation to New Server [SOLVED]
Pages: [1]

Author Topic: Contacts ALL GONE after Moving Existing Installation to New Server [SOLVED]  (Read 338 times)

Pamela

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.3.27
Contacts ALL GONE after Moving Existing Installation to New Server [SOLVED]
December 14, 2014, 10:49:31 am
I followed this guide to move my existing WordPress + CiviCRM installation from a remote server to my local XAMPP server. All seems to have went well except for the fact that all my CiviCRM data is missing. I can still see the data in the actual MySQL database, but other than the actual MySQL database, it practically looks like a fresh install of CiviCRM. I don't see any of my settings or any of the ~2000 individuals or ~8000 organizations.

Is there some setting I need to alter to fix this?

I thought I may have missed a step in the aforementioned guide, but I attempted deleting the database and files and doing it all from scratch again three times to no avail, and am still getting the same results.

I am using the latest stable version of WordPress (4.0.1) and CiviCRM (4.5.4).

Thanks.
« Last Edit: December 19, 2014, 04:24:29 am by Pamela »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contacts ALL GONE after Moving Existing Installation to New Server
December 15, 2014, 09:58:29 am
Can you confirm that the install points to the DB with the data?
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.

Pamela

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.3.27
Re: Contacts ALL GONE after Moving Existing Installation to New Server
December 15, 2014, 11:55:12 am
Thanks!

 :-[

I was going to quickly answer you and say, "yes, I'm sure," but I decided to manually check to be certain, and turns out... you were right! I somehow had the wrong two databases set in my ".../wp-content/plugins/civicrm/civicrm.settings.php" file!

More specifically, for anyone else that may ever stumble upon this in the future, line 65 where the WordPress database name is defined:
Code: [Select]
define( 'CIVICRM_UF_DSN'           , 'mysql://databaseUsername:databasePassword@localhost/databaseName?new_link=true' );
and line 88 where the CiviCRM database name is defined:
Code: [Select]
define( 'CIVICRM_DSN'          , 'mysql://databaseUsername:databasePassword@localhost/databaseName?new_link=true' );
You have solved two days of headache for me. Thanks again!

P.S. I'm not sure if there is any way to mark this thread as solved, but if so, this issue is now certainly solved for me.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Contacts ALL GONE after Moving Existing Installation to New Server [SOLVED]

This forum was archived on 2017-11-26.