Warning: Ajax error
Warning: Ajax error
arnonrdp
Posts: 29Questions: 8Answers: 0
I am facing an Ajax Error. I used the debugger but didn't solve my problem.
Debugger code: https://debug.datatables.net/eheyiv
Error messages shown: 500 (Internal Server Error)
What am I missing?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
A 500 is error is an error on the server, so you'll need to debug there. Start with the web-server logs, then any scripts you have,
Colin
When I comment this line
require( 'ssp.class.php' );
it returns me Invalid JSON response.This is my server_processing.php:
Do I need a ssp.class.php? Or do I need to turn my sql data to json?
You would need that file, as you've enabled
serverSide
. Did you look at the server logs as I suggested earlier?Colin
Yes, I did! All I needed to do was to insert the
ssp.class.php
inside my server. Thank you so much!Everything seems to be working now: http://myoption.com.br/index.html
But I took note that searching on a server-side table is different. It doesn't search on two different columns at the same time.
Is there any possibility to make it search this way?
Yep, the smart search doesn''t work, as we would assume the volume of data needed for server-side data would make that inefficient You can update the supplied scripts to provide that functionality - there are a few threads, such as here, discussing that..
Colin