Starting with "DataTables"
Starting with "DataTables"

Starting with the Tools and first issue I can't resolve.
When trying to test the "Automatic addition of row ID attributes" I have the following error:
Invalid JSON response.
I tried to debug by using the developer tool as explained on the guide but I can't find my error.
FYI I have also the same error when I tried to load the demo version on the website itself.
Could you please help me please ?
Regards.
This discussion has been closed.
Answers
Means exactly what it says :-). The data that the server is sending back is not valid JSON. This tech note provides details on how to debug that issue.
Can you link to that page please?
Allan
So my issue is with that example:
http://datatables.net/examples/server_side/ids.html
I tried to solve the error but I can't.
Error:
DataTables warning: table id=example - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
I had also the error online but now it works so I still having the issue only when I try to use it locally with Wamp Server.
That example works ok for me. Presumably you have changed something in your own code, but without seeing your code who can tell?
That example also appears to work for me.
Did you follow the instructions in the tech note you linked to? What is the data being returned from the server (it isn't JSON - so what is it - probably an error message).
Allan