Server side install help
Server side install help
Hello,
I've been trying out a couple of different jquery tables over the last few days. I've decided I like DataTables the best because of the server side processing and table tools. However when I uploaded the example to test functionality I get the json parsing error. I've never used this before so could someone explain to me what I would need to change in order to get this working? I've only changed the database login info. Also I've just started dealing with PHP, sorry if this is trivial for you.
Thanks in advance
OWen
I've been trying out a couple of different jquery tables over the last few days. I've decided I like DataTables the best because of the server side processing and table tools. However when I uploaded the example to test functionality I get the json parsing error. I've never used this before so could someone explain to me what I would need to change in order to get this working? I've only changed the database login info. Also I've just started dealing with PHP, sorry if this is trivial for you.
Thanks in advance
OWen
This discussion has been closed.
Replies
If you take a look at server_processing.php it looks like it needs to be configured with your database login and password before it will work properly. There's an sql file under DataTables-1.8.2/examples/examples_support/data.sql which will set up the example database for you.
For what it's worth I got datatables up and running without looking at any of the examples, but I also had experience using jqgrid before switching to datatables, and unlike datatables it has very little documentation on how to set up the server side properly.
For what it's worth I find it really helpful looking at the ajax requests that datatables makes using firebug or chrome's developer tools. That's what told me there was an issue in server_processing.php.