Server Side error in ssp.class.php

Server Side error in ssp.class.php

moecmoec Posts: 6Questions: 5Answers: 0
edited May 2015 in Free community support

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

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    Answer ✓

    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

  • moecmoec Posts: 6Questions: 5Answers: 0

    So I have to call this through javascript in order for it to work? I can't just call the php page?

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin

    This example shows how it works. The SSP class is designed to respond to an Ajax request from DataTables.

    Allan

This discussion has been closed.