Server-side : don't load data from php page

Server-side : don't load data from php page

adrenasadrenas Posts: 1Questions: 0Answers: 0
edited August 2010 in General
Hi,
my datatable don't load php data page, remaining in "Processing..." and "Loading data from server".
php page query data from oracle db.
the json format of php page is good why if i save php result in txt file it's works.
why can't load directly php page? how i can resolve?

datatable:
[code]
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "server_processing.php"
} );
} );





DataTables server-side processing





DESC_STATO
DESCRIZIONE
STATO_SERVIZIO
ID_ESEC_FASE
DATA_INIZIO
DATA_FINE
ID_FASE
ID_STATO_FASE
INIZIO_PERIODO




Loading data from server




DESC_STATO
DESCRIZIONE
STATO_SERVIZIO
ID_ESEC_FASE
DATA_INIZIO
DATA_FINE
ID_FASE
ID_STATO_FASE
INIZIO_PERIODO

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Your JSON isn't valid (try running it through http://jsonlint.com ) - you've got a trailing comma, which invalids it.

    Allan
This discussion has been closed.