aDataSupplied is Null when using search function

aDataSupplied is Null when using search function

hammerhammer Posts: 2Questions: 0Answers: 0
edited October 2010 in Bug reports
Hi All,

I've used Datatables 1.7.3 and use server side programming (like http://datatables.net/development/server-side/php_mysql) to get the data out of my database.

When I try the search box, after typed 3 characters I get a javascript error 'aDataSupplied is null' on line 2487
When typed 1 character and 2 characters, the filter works great.

Any suggestions?
Thanks in advance!

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Can you show us the JSON that you get back from the server when you see this error (using Firebug or similar)? I guess that there is an error there perhaps...

    Allan
  • hammerhammer Posts: 2Questions: 0Answers: 0
    Hi Allen,

    I checked my JSON answer from the server and noticed an error at the end (ended like "],null,null,null,null...")
    I debugged the php script and now it's working great.

    Thanks a lot!
  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Nice one - no worries.

    Allan
This discussion has been closed.