Can't load data with server-side processing
Can't load data with server-side processing
I'm having problems to load the data from the mysql database.
First of all I'm on localhost and I want to load data by server-side processing. I'm using server_side.html and server_processing.php. In the latter I have configured my database settings.
I got a json error so I added fnServerParams/Data in the server_side.html and the error disappeared, however it still doesn't load the data.
Is there a point which I might have skipped?
First of all I'm on localhost and I want to load data by server-side processing. I'm using server_side.html and server_processing.php. In the latter I have configured my database settings.
I got a json error so I added fnServerParams/Data in the server_side.html and the error disappeared, however it still doesn't load the data.
Is there a point which I might have skipped?
This discussion has been closed.
Replies
Allan
As an alternative I've recently been working on a bit of software to help with exactly this sort of thing - could you try using the DataTables debugger on your page please: http://debug.datatables.net and let me know what the debug code is. That way I'll be able to see the JSON return from the server.
Allan
But the DataTables debugger works great and the link is this one: debug.datatables.net/odozor
It shows the the return from the server is:
[code]
Could not select database testdb4
[/code]
so that would be the issue :-)
Allan
Allan