Server Side error in ssp.class.php
Server Side error in ssp.class.php
I'm getting these two errors
Notice: Undefined index: columns in /www/websvr6/htdocs/re/js/DataTables-1.10.7/examples/server_side/scripts/ssp.class.php on line 182
Notice: Undefined index: draw in /www/websvr6/htdocs/re/js/DataTables-1.10.7/examples/server_side/scripts/ssp.class.php on line 268
I've tried adding the $db->query( "SET NAMES 'utf8'" ); and that did nothing. I have been searching and trying for two days and nothing seems to work.
This question has an accepted answers - jump to answer
Answers
Sounds you either you haven't enabled server-side processing (
serverSide
), or the script is looking for POST and the client is sending GET (or vice-versa).Allan
So I have to call this through javascript in order for it to work? I can't just call the php page?
This example shows how it works. The SSP class is designed to respond to an Ajax request from DataTables.
Allan