DataTables 1.7.5 server_side example fails out of the box

DataTables 1.7.5 server_side example fails out of the box

UncleVladUncleVlad Posts: 2Questions: 0Answers: 0
edited February 2011 in General
Ok, I've been having no luck whatsoever getting DataTables to work with server-side processing. I went through these forums as much as I could. I looked at the various issues people have had. No luck. So I downloaded a fresh copy of 1.7.5, installed it on my test server, fired up examples/data_sources/server_side.html in Chrome and ... the same annoying json error pop-up I've been seeing on my system for the past week. Chrome is showing no errors and I am out of ideas.

If anyone is interested, the live page is at:

http://www.solutionsbyvlad.com/wip/dt/examples/data_sources/server_side.html

Help?

Replies

  • UncleVladUncleVlad Posts: 2Questions: 0Answers: 0
    And this is why I should not try coding on no sleep :(

    Ok, I verified that the current problem with the demo is no database connection. I will try actually setting up a db and trying again.

    What worries me is that even when I pump in a "correct" json output string I still the parsing error. I an not using the validation plugin; the only thing beyond jquery and jquery-ui I am using is a menu plugin that does nothing with json or ajax.
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    A parsing error means that jQuery hasn't been able to de-serialise the json based string that has come back from the server. If you have a look at the server response in Firebug, it's instructive to run it through http://jsonlint.com to see where it might be going wrong.

    Allan
This discussion has been closed.