Datatables not displaying the data returned using server side processing
Datatables not displaying the data returned using server side processing
I tried using this sample
http://datatables.net/release-datatables/examples/server_side/server_side.html
to create a datatables using server side processing
I created sdata.php to get data from the server
http://pastie.org/4084535
I also created sdatatables.php to show the data inside datatables
http://pastie.org/4084534
When I access sdata.php I got the data
http://pastie.org/4084556
But has a "Notice: Undefined index: sEcho"
So I commented out line 148 in sdata.php and no error is displayed anymore
I tried accessing sdatatables.php and I get a javascript error inside jquery.dataTables.min.js
"r is undefined" Line 125
Any idea on how to fix this? Did I miss something?
Thanks in advance.
http://datatables.net/release-datatables/examples/server_side/server_side.html
to create a datatables using server side processing
I created sdata.php to get data from the server
http://pastie.org/4084535
I also created sdatatables.php to show the data inside datatables
http://pastie.org/4084534
When I access sdata.php I got the data
http://pastie.org/4084556
But has a "Notice: Undefined index: sEcho"
So I commented out line 148 in sdata.php and no error is displayed anymore
I tried accessing sdatatables.php and I get a javascript error inside jquery.dataTables.min.js
"r is undefined" Line 125
Any idea on how to fix this? Did I miss something?
Thanks in advance.
This discussion has been closed.
Replies
Allan
http://debug.datatables.net/acofiz
I'd suggest looking at your server's error log to see what it says.
Allan