Answers.Body: <p>I have tested the above issue against WP 4.6.1 and CiviCRM 4.7.11.   I am running Apache 2.4, php 5.6 and MySQL 5.6.   The OS is CentOS 6.</p>
  
  <p>I cannot reproduce this error nor the one mentioned <a href="https://civicrm.stackexchange.com/questions/9522/ajax-error-when-trying-to-view-relationships-tab">Ajax Error when trying to view relationships tab</a></p>
  
  <p>I commented in <a href="https://issues.civicrm.org/jira/browse/CRM-19331" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-19331</a> about this as well.</p>
  
  <p>I would suspect the issue here is due to either a plugin conflict or something specific to the Hosting Configuration. I am interested if these issues are specific to a host or a specific configuration.</p>
  
  <p>I'd disable all plugins (except CiviCRM) and see if you can trace errors in you apache and php logs.  I would also revert to a default theme (CiviCRM demo sites are tested with TwentyThirteen) I'd also look at the CiviCRM logs. The CiviCRM logins should be in the <code>/civicrm/ConfigAndLog</code> directory that is stored in the WP upload directory in 4.7</p>
  
  <p>I'd be interested if these issues are specific to a host or a specific configuration.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-21T17:34:25.480Z
Answers.Text: Hi, I found the ConfigAndLog directory. I see 2 log files in there but they are both dated from a few months ago. How do I get the system to log what's going on now? Thanks.
Answers.UserDisplayName: Nat
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-02T17:13:05.397Z
Answers.Text: The solution was to review the php requirements again and ensure I had everything compliant.
Answers.UserDisplayName: Nat
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-12T00:58:14.447Z
Answers.LastActivityDate: 2016-09-12T00:58:14.447Z
Answers.LastEditDate: 2017-04-13T12:53:13.017Z
Answers.UserDisplayName: Kevin Cristiano
Answers.Body: <p>I had a similar issue on my CiviCRM fresh installation (CiviCRM 5.10.4) -> IIS10 webserver.</p>
  
  <p>Error used to happen on both Joomla (3.9.3) and WordPress (5.0.1) versions. </p>
  
  <p>The problem was that we see any relationship or activities table (DataTables warning: table id=DataTables_Table_0)</p>
  
  <p>So, what I did to fix this problem is to add the following values in the app web.config. Do not forget any of these or it won't work.</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;httpRuntime maxQueryStringLength = "12288" maxUrlLength="12288" /&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
      &lt;security&gt;
          &lt;requestFiltering allowDoubleEscaping="false"&gt;
              &lt;requestLimits maxAllowedContentLength="3000000000" maxUrl="4000000" maxQueryString="4000000" /&gt;
          &lt;/requestFiltering&gt;
      &lt;/security&gt;
  
      &lt;httpErrors existingResponse="PassThrough"&gt;&lt;/httpErrors&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Hope this helps !</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-01T09:13:01.860Z
Answers.LastActivityDate: 2019-03-03T19:23:12.687Z
Answers.LastEditDate: 2019-03-03T19:23:12.687Z
Answers.UserDisplayName: Nicolas 33400
Answers.Body: <p>I did made a test against Wordpress 4.5.3 and Civicrm 4.7.10 - Fresh Copy </p>
  
  <p>I didn't get any error message as you have reported - may be you should try the same against demo to confirm </p>
  
  <p>I guess this helps !!!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-18T14:06:22.877Z
Answers.Text: What do you mean by "against demo"? Thanks.
Answers.UserDisplayName: Nat
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-18T14:16:44.387Z
Answers.Text: Refer:  https://civicrm.org/demo - you can find demo instance which is a fresh copy with latest civicrm - If you find any issues in civicrm - you can test the same against demo instance -and If you could replicate the issue against demo instance. Then the issue is considered as core issue else you made some mistake in installation
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-01T19:06:01.117Z
Answers.Text: The demo does not run on Wordpress 4.6, so it's not an exact configuration.
Answers.UserDisplayName: Nat
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-02T08:15:54.117Z
Answers.Text: please check this link for different version of demo https://civicrm.org/sandboxes
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-02T08:16:20.333Z
Answers.Text: demo wordpress 4.6 - http://wp46.demo.civicrm.org/wp-login.php
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-02T14:24:12.577Z
Answers.Text: I am using CiviCRM Version 4.7.10 on Wordpress 4.6. None of your examples are configured like that.
Answers.UserDisplayName: Nat
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-18T09:03:07.593Z
Answers.LastActivityDate: 2016-08-18T09:03:07.593Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>Version 4.7.10 on Wordpress 4.6</p>
  
  <p><strong>Error when selecting Contacts->Manage Groups:</strong>
  DataTables warning: table id=DataTables_Table_0 - Ajax error. For more information about this error, please see <a href="http://datatables.net/tn/7" rel="nofollow">http://datatables.net/tn/7</a></p>
  
  <p>This is a fresh install. The error makes contact group unusable which makes the whole thing unusable.</p>
  
  <p><strong>Comment from my system admin:</strong>
  I've updated the nginx config without any success and also tried updating the PHP query string size limit, again without any success. I would say the next step would be to contact the civicrm maintainers and say that the query string is causing problems. Usually GET query parameters shouldn't exceed more than 255 characters, while the one above is closer to 1300. They should probably be using a POST request instead of GET.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Following the instructions from the datatables link above, I compared the demo site to my site.</p>
  
  <p>-The suspect request URL is identical.</p>
  
  <p>-Data transferred / size: demo site 0.05 kb. my site 0.19 kb. This is puzzling since the URL is identical!</p>
  
  <p>-On the demo site request type is json. On my site, it says html.</p>
  
  <p>-Both are GET requests. I also looked at Civi 4.6.21 on WP 4.5.3 and this same request is a POST request. So I guess they changed it to GET.</p>
  
  <p>-Demo site runs Wordpress 4.5.3 and Civi 4.7.11. my site is Wordpress 4.6 and Civi 4.7.10</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-18T09:19:40.043Z
Comments.Text: What do you see in your civicrm log file ?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-18T14:05:31.060Z
Comments.Text: Can you tell me where that log file is stored?
Comments.UserDisplayName: Nat
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-19T04:37:51.800Z
Comments.Text: /var/www/<your_site>/sites/default/files/ConfigAndLog/log_file.log
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-09-01T19:03:33.863Z
Comments.Text: I don't have a ConfigAndLog directory. Is this something I need to enable somehow?
Comments.UserDisplayName: Nat
Tags: <ajax>
Title: AJAX error when viewing contact groups
ThreadText: # AJAX error when viewing contact groups
  
  (Asked by: username_0 on 2016-08-17)
  
  Version 4.7.10 on Wordpress 4.6
  
  **Error when selecting Contacts->Manage Groups:**
  DataTables warning: table id=DataTables\_Table\_0 - Ajax error. For more information about this error, please see <http://datatables.net/tn/7>
  
  This is a fresh install. The error makes contact group unusable which makes the whole thing unusable.
  
  **Comment from my system admin:**
  I've updated the nginx config without any success and also tried updating the PHP query string size limit, again without any success. I would say the next step would be to contact the civicrm maintainers and say that the query string is causing problems. Usually GET query parameters shouldn't exceed more than 255 characters, while the one above is closer to 1300. They should probably be using a POST request instead of GET.
  
  **UPDATE**
  
  Following the instructions from the datatables link above, I compared the demo site to my site.
  
  -The suspect request URL is identical.
  
  -Data transferred / size: demo site 0.05 kb. my site 0.19 kb. This is puzzling since the URL is identical!
  
  -On the demo site request type is json. On my site, it says html.
  
  -Both are GET requests. I also looked at Civi 4.6.21 on WP 4.5.3 and this same request is a POST request. So I guess they changed it to GET.
  
  -Demo site runs Wordpress 4.5.3 and Civi 4.7.11. my site is Wordpress 4.6 and Civi 4.7.10
  
  **Tags:** ajax
  
  > **Comments:**
  > **username_1**: What do you see in your civicrm log file ?  
  > **username_0**: Can you tell me where that log file is stored?  
  > **username_1**: /var/www/<your_site>/sites/default/files/ConfigAndLog/log_file.log  
  > **username_0**: I don't have a ConfigAndLog directory. Is this something I need to enable somehow?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2016-09-12. Score: 1 | Accepted answer
  
  I have tested the above issue against WP 4.6.1 and CiviCRM 4.7.11. I am running Apache 2.4, php 5.6 and MySQL 5.6. The OS is CentOS 6.
  
  I cannot reproduce this error nor the one mentioned [Ajax Error when trying to view relationships tab](https://civicrm.stackexchange.com/questions/9522/ajax-error-when-trying-to-view-relationships-tab)
  
  I commented in <https://issues.civicrm.org/jira/browse/CRM-19331> about this as well.
  
  I would suspect the issue here is due to either a plugin conflict or something specific to the Hosting Configuration. I am interested if these issues are specific to a host or a specific configuration.
  
  I'd disable all plugins (except CiviCRM) and see if you can trace errors in you apache and php logs. I would also revert to a default theme (CiviCRM demo sites are tested with TwentyThirteen) I'd also look at the CiviCRM logs. The CiviCRM logins should be in the `/civicrm/ConfigAndLog` directory that is stored in the WP upload directory in 4.7
  
  I'd be interested if these issues are specific to a host or a specific configuration.
  
  > **Comments:**
  > **username_0**: Hi, I found the ConfigAndLog directory. I see 2 log files in there but they are both dated from a few months ago. How do I get the system to log what's going on now? Thanks.  
  > **username_0**: The solution was to review the php requirements again and ensure I had everything compliant.  
  
  ---
  
  ### Answer by username_3 on 2019-03-01. Score: 0
  
  I had a similar issue on my CiviCRM fresh installation (CiviCRM 5.10.4) -> IIS10 webserver.
  
  Error used to happen on both Joomla (3.9.3) and WordPress (5.0.1) versions.
  
  The problem was that we see any relationship or activities table (DataTables warning: table id=DataTables\_Table\_0)
  
  So, what I did to fix this problem is to add the following values in the app web.config. Do not forget any of these or it won't work.
  
  ```
  <system.web>
      <httpRuntime maxQueryStringLength = "12288" maxUrlLength="12288" />
  </system.web>
  <system.webServer>
      <security>
          <requestFiltering allowDoubleEscaping="false">
              <requestLimits maxAllowedContentLength="3000000000" maxUrl="4000000" maxQueryString="4000000" />
          </requestFiltering>
      </security>
  
      <httpErrors existingResponse="PassThrough"></httpErrors>
  </system.webServer>
  
  ```
  
  Hope this helps !
  
  
  ---
  
  ### Answer by username_4 on 2016-08-18. Score: 0
  
  I did made a test against Wordpress 4.5.3 and Civicrm 4.7.10 - Fresh Copy
  
  I didn't get any error message as you have reported - may be you should try the same against demo to confirm
  
  I guess this helps !!!
  
  > **Comments:**
  > **username_0**: What do you mean by "against demo"? Thanks.  
  > **username_4**: Refer:  https://civicrm.org/demo - you can find demo instance which is a fresh copy with latest civicrm - If you find any issues in civicrm - you can test the same against demo instance -and If you could replicate the issue against demo instance. Then the issue is considered as core issue else you made some mistake in installation  
  > **username_0**: The demo does not run on Wordpress 4.6, so it's not an exact configuration.  
  > **username_4**: please check this link for different version of demo https://civicrm.org/sandboxes  
  > **username_4**: demo wordpress 4.6 - http://wp46.demo.civicrm.org/wp-login.php  
  > **username_0**: I am using CiviCRM Version 4.7.10 on Wordpress 4.6. None of your examples are configured like that.  
  
  ---
  
  