Server-side processing, Invalid JSON response
Server-side processing, Invalid JSON response
pernilla
Posts: 2Questions: 1Answers: 0
Hello,
I'm currently trying to get the server-side to work for my setup, but receiving no reponse.
I'm using the server-side example provided here: https://datatables.net/examples/server_side/simple.html
The database settings have been changed to match my setup, but otherwise the code is mostly untouched.
DataTables Debugger link: http://debug.datatables.net/ovujig
Any help would be appreciated, thanks!
This question has accepted answers - jump to:
This discussion has been closed.
Answers
here are some things you can do to figure out what the problem is
This is basically what your stuff looks like from looking at the debug file.
This code adds to it a bit to help you debug where the problem is.
Run is with your console open to confirm what is being sent where.
Also, you can run ajax by itself and see if you can get data that way.
```
The debugger trace shows that the
files/server_processing.php
script is not responding with anything - i.e. zero length data.I'd suggest the first stop should be to check your server's error logs to see if there is anything reported there.
Allan
Looks like PDO was not enabled. Thanks for the help!