Answers.Body: <p>Try these, in this order:</p>
  
  <ul>
  <li>Check that the <code>CIVICRM_UF</code> value in civicrm.settings.php has been updated to reflect the changed host CMS</li>
  <li>Try visiting <code>/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/admin/setting/updateConfigBackend&amp;reset=1</code> to make CiviCRM recognise the shift from Drupal to WordPress</li>
  <li>Clear the contents of your <code>civicrm_uf_match</code> table</li>
  <li>Apply instructions from <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location" rel="nofollow">Moving an Existing Installation to a New Server or Location</a> to your situation. (This is a huge list of "tricks", only some will apply to your situation.)</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-15T19:00:46.603Z
Answers.Text: None of that worked... eventually I gave up and emptied the civicrm.setting table in the database and imported a fresh one from the new install of CiviCRM. I lost some of my config settings, but it kept all of the important data. It took a bit of time to re-configure the database, but it is working now.
Answers.UserDisplayName: osarusan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-14T21:25:04.007Z
Answers.LastActivityDate: 2015-09-14T21:25:04.007Z
Answers.UserDisplayName: Chris Burgess
Body: <p>I recently changed from Drupal to Wordpress, and am having some trouble connecting WP to my existing CiviCRM database.</p>
  
  <p>I installed the CiviCRM for Wordpress plugin (and set up a new, empty database for CiviCRM). Then I edited the civicrm.settings.php file to connect to my old CiviCRM database (that I had been using with Drupal). I know the settings are correct, and yet something is wrong. The CiviCRM menu does not appear; the Dashboard appears ugly as if there is no CSS; I cannot access some admin pages (like "Resource URLS") but I can access others (like the Admin Console, by manually typing in the URL, yet as with the Dashboard there is no CSS being applied).</p>
  
  <p>Can someone shed some light on what is happening, and how I can fix it? </p>
  
Tags: <wordpress><migration>
Title: Reconnecting CiviCRM DB in Wordpress
ThreadText: # Reconnecting CiviCRM DB in Wordpress
  
  (Asked by: username_0 on 2015-09-14)
  
  I recently changed from Drupal to Wordpress, and am having some trouble connecting WP to my existing CiviCRM database.
  
  I installed the CiviCRM for Wordpress plugin (and set up a new, empty database for CiviCRM). Then I edited the civicrm.settings.php file to connect to my old CiviCRM database (that I had been using with Drupal). I know the settings are correct, and yet something is wrong. The CiviCRM menu does not appear; the Dashboard appears ugly as if there is no CSS; I cannot access some admin pages (like "Resource URLS") but I can access others (like the Admin Console, by manually typing in the URL, yet as with the Dashboard there is no CSS being applied).
  
  Can someone shed some light on what is happening, and how I can fix it?
  
  **Tags:** wordpress, migration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-14. Score: 3
  
  Try these, in this order:
  
  * Check that the `CIVICRM_UF` value in civicrm.settings.php has been updated to reflect the changed host CMS
  * Try visiting `/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/updateConfigBackend&reset=1` to make CiviCRM recognise the shift from Drupal to WordPress
  * Clear the contents of your `civicrm_uf_match` table
  * Apply instructions from [Moving an Existing Installation to a New Server or Location](http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location) to your situation. (This is a huge list of "tricks", only some will apply to your situation.)
  
  > **Comments:**
  > **username_0**: None of that worked... eventually I gave up and emptied the civicrm.setting table in the database and imported a fresh one from the new install of CiviCRM. I lost some of my config settings, but it kept all of the important data. It took a bit of time to re-configure the database, but it is working now.  
  
  ---
  
  