Answers.Body: <p>This is because your cms.root doesn't match properly with civicrm.root variable and you might be using variables in Resource url for 'CiviCRM Resource URL'. </p>
  
  <p>You need to make sure paths are correct in your system</p>
  
  <ol>
  <li>Check the Document root path in your apache or nginx config of site.</li>
  <li>It should match exactly with the path of $civicrm_root and template_c path in settings.php</li>
  </ol>
  
  <p>For some cases you add below two line at the end of the file you will need to change </p>
  
  <pre><code>$civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = CIVICRM_UF_BASEURL . 'sites/all/modules/civicrm/';                                                                                                     
  $civicrm_paths['civicrm.root']['url'] = CIVICRM_UF_BASEURL . 'sites/all/modules/civicrm/';
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-13T12:45:05.070Z
Answers.LastActivityDate: 2020-03-13T12:45:05.070Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I was running CiviCRM 5.16 on top of Drupal 7.69, atop Debian 9. I tried installing the <a href="https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless" rel="nofollow noreferrer">GoCardless extension</a> (after discussion at CiviCamp Birmingham) using the built-in extensions manager and couldn't quite get it to work. I figured it might be because my CiviCRM was a bit too old, so I tried removing it and upgrading Civi to 5.23.1, then reinstalling the extension.</p>
  
  <p>Somewhere in this upgrade process, I've got to the point where the CiviCRM menu bar and dashboard no longer appear on my site. Everything seems to work if I can remember the URLs, but this is obviously very frustrating. Any idea where to look? I'm not getting any browser errors, and the last thing in <code>ConfigAndLog/CiviCRM.*.log</code> is the database upgrade to 5.23.1</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-13T05:15:03.693Z
Comments.Text: Did you try clearing the drupal and civicrm cache? Also check if rebuilding the menu fixes it. It can be done by visiting `http://yoursitename/civicrm/menu/rebuild?reset=1`
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-13T10:43:02.440Z
Comments.Text: Yeah, I've tried using `drush cache-clear all` and the menu rebuild URL you posted; I've also tried restarting the web server in case it's a internal cache issue, and logging out / in of Civi to see if that helps. No luck so far.
Comments.UserDisplayName: Dave Page
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-13T10:48:02.413Z
Comments.Text: Ah, the Apache access logs have a clue - my site is hosted at `https://yourdomain/crm/civicrm/` and I'm getting lots of 404 errors for resources at `/crm/crm/sites/all/modules/civicrm/whatever`
Comments.UserDisplayName: Dave Page
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-13T10:54:13.513Z
Comments.Text: Right, I've hacked around this in Apache and got the menus working again, now to figure out the root cause.
  
  `RedirectMatch  temp  "^/crm/crm/(.*)"   "/crm/$1"`
Comments.UserDisplayName: Dave Page
Tags: <upgrade><menu><gocardless>
Title: CiviCRM Dashboard and Menus disappear after upgrade and GoCardless extension disabling
ThreadText: # CiviCRM Dashboard and Menus disappear after upgrade and GoCardless extension disabling
  
  (Asked by: username_0 on 2020-03-13)
  
  I was running CiviCRM 5.16 on top of Drupal 7.69, atop Debian 9. I tried installing the [GoCardless extension](https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless) (after discussion at CiviCamp Birmingham) using the built-in extensions manager and couldn't quite get it to work. I figured it might be because my CiviCRM was a bit too old, so I tried removing it and upgrading Civi to 5.23.1, then reinstalling the extension.
  
  Somewhere in this upgrade process, I've got to the point where the CiviCRM menu bar and dashboard no longer appear on my site. Everything seems to work if I can remember the URLs, but this is obviously very frustrating. Any idea where to look? I'm not getting any browser errors, and the last thing in `ConfigAndLog/CiviCRM.*.log` is the database upgrade to 5.23.1
  
  **Tags:** upgrade, menu, gocardless
  
  > **Comments:**
  > **username_1**: Did you try clearing the drupal and civicrm cache? Also check if rebuilding the menu fixes it. It can be done by visiting `http://yoursitename/civicrm/menu/rebuild?reset=1`  
  > **username_0**: Yeah, I've tried using `drush cache-clear all` and the menu rebuild URL you posted; I've also tried restarting the web server in case it's a internal cache issue, and logging out / in of Civi to see if that helps. No luck so far.  
  > **username_0**: Ah, the Apache access logs have a clue - my site is hosted at `https://yourdomain/crm/civicrm/` and I'm getting lots of 404 errors for resources at `/crm/crm/sites/all/modules/civicrm/whatever`  
  > **username_0**: Right, I've hacked around this in Apache and got the menus working again, now to figure out the root cause.  `RedirectMatch  temp  "^/crm/crm/(.*)"   "/crm/$1"`  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-03-13. Score: 0
  
  This is because your cms.root doesn't match properly with civicrm.root variable and you might be using variables in Resource url for 'CiviCRM Resource URL'.
  
  You need to make sure paths are correct in your system
  
  1. Check the Document root path in your apache or nginx config of site.
  2. It should match exactly with the path of $civicrm\_root and template\_c path in settings.php
  
  For some cases you add below two line at the end of the file you will need to change
  
  ```
  $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = CIVICRM_UF_BASEURL . 'sites/all/modules/civicrm/';                                                                                                     
  $civicrm_paths['civicrm.root']['url'] = CIVICRM_UF_BASEURL . 'sites/all/modules/civicrm/';
  
  ```
  
  
  ---
  
  