Answers.Body: <p>This error typically means there's a JavaScript error.  Open your Developer tab in your browser (by pressing F12), go to the Network tab and reload the page.  Consider filtering by "XHR" requests, since it's almost certainly a problem there.  Look for the one with a status that's an error and click on it, then check the "Response" tab.  You'll find a more detailed error there.  The error will probably be more detailed if you <a href="https://docs.civicrm.org/dev/en/latest/tools/debugging/#changing-settings-in-the-ui" rel="nofollow noreferrer">enable Debugging and Backtrace</a>.  Hopefully that should be enough to solve your problem, or at least update your question with more details!</p>
  
  <p><a href="https://i.sstatic.net/LTNzx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LTNzx.png" alt="enter image description here"></a> </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-25T09:19:37.997Z
Answers.Text: No such luck using the developer tab - all A-OK there. I'm going to have to enable debugging and backtrace using by editing civicrm.settings.php cause my UI is borked. Stay tuned, and thanks for the tips.
Answers.UserDisplayName: hamboneza
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-22T15:30:18.297Z
Answers.LastActivityDate: 2018-06-22T15:30:18.297Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I've seen this occasionally after an upgrade. If you use memcache, restart the MySQL service. Also sometimes php opcache or APC needs clearing, try restarting your web server service, apache or nginx</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-08T02:45:23.850Z
Answers.LastActivityDate: 2018-07-08T02:45:23.850Z
Answers.UserDisplayName: jackrabbithanna
Body: <p>Recently I upgraded a from 4.7 to 5.1. All was well and then after a weekend suddenly the CiviCRM menu has disappeared and the dashboard and most other pages are displaying the error bubble:</p>
  
  <blockquote>
    <p>Network Error Unable to reach the server. Please refresh this page in your browser and try again.</p>
  </blockquote>
  
  <p>Thinking it was some dastardly upgrade gremlin i decided to upgrade to 5.2 which has made no effect. I've checked the base url - with and without HTTPS. Any other troubleshooting tips I can try to resolve this?</p>
  
  <p>UPDATE: </p>
  
  <p>Struggling to turn on debugging via the UI so I enabled <code>define( 'CIVICRM_DEBUG_LOG_QUERY', 1 );</code> but I am none the wiser as no entries are marked [error].</p>
  
  <p>F12 on the browser yielded no JS errors, but having the console open produced this <a href="https://i.sstatic.net/Ffv6a.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ffv6a.png" alt="SyntaxError: expected expression, got &#39;&lt;&#39;"></a></p>
  
  <p>Any ideas?</p>
  
Tags: <drupal>
Title: Disappearing CiviCRM menu and Network Error
ThreadText: # Disappearing CiviCRM menu and Network Error
  
  (Asked by: username_0 on 2018-06-22)
  
  Recently I upgraded a from 4.7 to 5.1. All was well and then after a weekend suddenly the CiviCRM menu has disappeared and the dashboard and most other pages are displaying the error bubble:
  
  > Network Error Unable to reach the server. Please refresh this page in your browser and try again.
  
  Thinking it was some dastardly upgrade gremlin i decided to upgrade to 5.2 which has made no effect. I've checked the base url - with and without HTTPS. Any other troubleshooting tips I can try to resolve this?
  
  UPDATE:
  
  Struggling to turn on debugging via the UI so I enabled `define( 'CIVICRM_DEBUG_LOG_QUERY', 1 );` but I am none the wiser as no entries are marked [error].
  
  F12 on the browser yielded no JS errors, but having the console open produced this [![SyntaxError: expected expression, got '<'](https://i.sstatic.net/Ffv6a.png)](https://i.sstatic.net/Ffv6a.png)
  
  Any ideas?
  
  **Tags:** drupal
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-06-22. Score: 3
  
  This error typically means there's a JavaScript error. Open your Developer tab in your browser (by pressing F12), go to the Network tab and reload the page. Consider filtering by "XHR" requests, since it's almost certainly a problem there. Look for the one with a status that's an error and click on it, then check the "Response" tab. You'll find a more detailed error there. The error will probably be more detailed if you [enable Debugging and Backtrace](https://docs.civicrm.org/dev/en/latest/tools/debugging/#changing-settings-in-the-ui). Hopefully that should be enough to solve your problem, or at least update your question with more details!
  
  [![enter image description here](https://i.sstatic.net/LTNzx.png)](https://i.sstatic.net/LTNzx.png)
  
  > **Comments:**
  > **username_0**: No such luck using the developer tab - all A-OK there. I'm going to have to enable debugging and backtrace using by editing civicrm.settings.php cause my UI is borked. Stay tuned, and thanks for the tips.  
  
  ---
  
  ### Answer by username_2 on 2018-07-08. Score: 1
  
  I've seen this occasionally after an upgrade. If you use memcache, restart the MySQL service. Also sometimes php opcache or APC needs clearing, try restarting your web server service, apache or nginx
  
  
  ---
  
  