Answers.Body: <p>Disabling Cloudflare or switching off popups as suggested didn't help. Neither did setting up a Cloudflare PageRule to bypass all Civi pages  </p>
  
  <p>But this worked:</p>
  
  <p>I followed the instructions here  (<a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Ensuring+Schema+Integrity+on+Upgrades" rel="nofollow">http://wiki.civicrm.org/confluence/display/CRMDOC/Ensuring+Schema+Integrity+on+Upgrades</a>) to clean up my database schema, and then the upgrade to 4.6.4 worked - and fixed the problems.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-20T19:12:47.840Z
Answers.LastActivityDate: 2015-06-20T19:12:47.840Z
Answers.UserDisplayName: Davy Ivins
Answers.Body: <p>First (and easiest to do) disable Cloudflare and see if the site operates correctly.  Disabling Cloudflare is super easy to do.</p>
  
  <p>This may be related to the pop-up forms in recent versions of CiviCRM.  You can go to civicrm/admin/setting/preferences/display and unselect "Enable Popup Forms" and see if that corrects the problem as well.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-19T18:23:44.103Z
Answers.LastActivityDate: 2015-06-19T18:23:44.103Z
Answers.UserDisplayName: DaveD
Body: <p>Drupal 6.36;  CiviCRM 4.5.8</p>
  <p>I am experiencing two problems after making changes to my site. Not sure if the problems are related. I will start troubleshooting but any guidance would be very helpful.</p>
  <p><strong>1. Civi dashboard</strong> loading icon spins and dashlets don't load. This may be related to us installing Cloudflare (<a href="http://forum.civicrm.org/index.php/topic,27176.msg142612.html#msg142612" rel="nofollow noreferrer">http://forum.civicrm.org/index.php/topic,27176.msg142612.html#msg142612</a>).</p>
  <p><strong>2. Relationships tab</strong> generates error on click. Screen loads but the relationships list doesn't open. The following two popups appear:</p>
  <blockquote>
  <p>DataTables warning: table id=DataTables_Table_0 - Invalid JSON response. For more information about this error, please see <a href="http://datatables.net/tn/1" rel="nofollow noreferrer">http://datatables.net/tn/1</a></p>
  <p>DataTables warning: table id=DataTables_Table_1 - Invalid JSON response. For more information about this error, please see <a href="http://datatables.net/tn/1" rel="nofollow noreferrer">http://datatables.net/tn/1</a></p>
  </blockquote>
  <p>Clicking the Add relationship button opens the dialogue and allows it to be completed, but on saving the above errors appear again.</p>
  <p><strong>Background:</strong></p>
  <ul>
  <li>Moved the site to a faster server with no apparent problems</li>
  <li>6 hrs later...</li>
  <li>Upgraded Drupal 6.36 security release. All seems fine.</li>
  <li>Tried to install Civi4.6.4 but it errored out so I reverted to the
  4.5.8 backup. It was late and I didn't copy the error :-(</li>
  <li>Implemented Cloudflare. Civi is appreciably faster. Cloudflare needs www. domains so I set up a redirect in htaccess and updated the Civi paths and resource URLs. Also cleared all caches</li>
  </ul>
  <p>Thanks
  Davy</p>
  
Tags: <upgrade><relationships>
Title: Cloudflare kills dashboard + Relationship tab error. Any ideas?
ThreadText: # Cloudflare kills dashboard + Relationship tab error. Any ideas?
  
  (Asked by: username_0 on 2015-06-19)
  
  Drupal 6.36; CiviCRM 4.5.8
  
  I am experiencing two problems after making changes to my site. Not sure if the problems are related. I will start troubleshooting but any guidance would be very helpful.
  
  **1. Civi dashboard** loading icon spins and dashlets don't load. This may be related to us installing Cloudflare (<http://forum.civicrm.org/index.php/topic,27176.msg142612.html#msg142612>).
  
  **2. Relationships tab** generates error on click. Screen loads but the relationships list doesn't open. The following two popups appear:
  
  > DataTables warning: table id=DataTables\_Table\_0 - Invalid JSON response. For more information about this error, please see <http://datatables.net/tn/1>
  >
  > DataTables warning: table id=DataTables\_Table\_1 - Invalid JSON response. For more information about this error, please see <http://datatables.net/tn/1>
  
  Clicking the Add relationship button opens the dialogue and allows it to be completed, but on saving the above errors appear again.
  
  **Background:**
  
  * Moved the site to a faster server with no apparent problems
  * 6 hrs later...
  * Upgraded Drupal 6.36 security release. All seems fine.
  * Tried to install Civi4.6.4 but it errored out so I reverted to the
    4.5.8 backup. It was late and I didn't copy the error :-(
  * Implemented Cloudflare. Civi is appreciably faster. Cloudflare needs www. domains so I set up a redirect in htaccess and updated the Civi paths and resource URLs. Also cleared all caches
  
  Thanks
  Davy
  
  **Tags:** upgrade, relationships
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-06-20. Score: 3
  
  Disabling Cloudflare or switching off popups as suggested didn't help. Neither did setting up a Cloudflare PageRule to bypass all Civi pages
  
  But this worked:
  
  I followed the instructions here (<http://wiki.civicrm.org/confluence/display/CRMDOC/Ensuring+Schema+Integrity+on+Upgrades>) to clean up my database schema, and then the upgrade to 4.6.4 worked - and fixed the problems.
  
  
  ---
  
  ### Answer by username_1 on 2015-06-19. Score: 0
  
  First (and easiest to do) disable Cloudflare and see if the site operates correctly. Disabling Cloudflare is super easy to do.
  
  This may be related to the pop-up forms in recent versions of CiviCRM. You can go to civicrm/admin/setting/preferences/display and unselect "Enable Popup Forms" and see if that corrects the problem as well.
  
  
  ---
  
  