Beta Testing 1.6.1 AJAX error with too many columns again , how do i resolve the error

Beta Testing 1.6.1 AJAX error with too many columns again , how do i resolve the error

purcepapurcepa Posts: 3Questions: 1Answers: 0

currently works when i only add 8 columns, but when i add the 9th it throws the 404 error.

https://localhost/wp-admin/admin-ajax.php?action=get_wdtable&table_id=17&draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=territory&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=market&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=region&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=vendor&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=project_name&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=comments&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=7&columns%5B7%5D%5Bname%5D=billing_verified&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B8%5D%5Bdata%5D=8&columns%5B8%5D%5Bname%5D=monthly_reduction&columns%5B8%5D%5Bsearchable%5D=true&columns%5B8%5D%5Borderable%5D=true&columns%5B8%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B8%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1456524931895

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,764Questions: 1Answers: 10,510 Site admin

    I'm sorry if the form rules aren't clear enough. Please link to a test case that shows the error.

    Also DataTables 1.6.1 is extremely old. v1.10.11 is the current release.

    Finally, it sounds like the server has a limit of the query string limit. I would suggest you use POST to get around that.

    Allan

  • purcepapurcepa Posts: 3Questions: 1Answers: 0

    I am not savvy with coding. Also, I would not be able to send a test case. It does however seem that the server has a limit, but i don't know where to go to edit the limit.

    how would use POST?

  • allanallan Posts: 63,764Questions: 1Answers: 10,510 Site admin
    Answer ✓

    There is a POST example here.

    Details on how you can show a test case are here.

    I'd very strongly recommend you just use POST rather than changing the server configuration.

    Allan

  • purcepapurcepa Posts: 3Questions: 1Answers: 0

    Okay to close, thanks for your help with the example. being that I am someone who does not know what to look for nor write code. i was able to dig around and find the solutions. i also contacted a few friends in-network that pointed me the right direction. it was just as simple as finding the right file to edit and change GET to POST.

    i do have one other question, it should not have any impact on the server by changing GET to POST correct?

  • allanallan Posts: 63,764Questions: 1Answers: 10,510 Site admin

    It is very unlikely to - although it is of course impossible to say with absolutely certainty that it won't since I don't know how your server is configured.

    Allan

This discussion has been closed.