Datatables error for server-side processing

Datatables error for server-side processing

ziscrossziscross Posts: 1Questions: 0Answers: 0
edited August 2013 in General
I use this script for server-side (http://datatables.net/development/server-side/php_mongodb)

this my debug info (http://debug.datatables.net/okepuz)

error from firebug

Notice: Undefined offset: 0 in F:\xampp\htdocs\rama2\server_processing.php on line 115

Fatal error: Uncaught exception 'MongoException' with message 'zero-length keys are not allowed, did you use $ with double quotes?' in F:\xampp\htdocs\rama2\server_processing.php:133 Stack trace: #0 F:\xampp\htdocs\rama2\server_processing.php(133): MongoCursor->rewind() #1 {main} thrown in F:\xampp\htdocs\rama2\server_processing.php on line 133

a jason from file is valid

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Its not valid JSON since there is an error in it. I'm not sure what would cause that error beyond what the error message says. Sorry.

    Allan
This discussion has been closed.