Datatable Problem Showing 0 to 0 of 0 entries (filtered from 32 total entries)
Datatable Problem Showing 0 to 0 of 0 entries (filtered from 32 total entries)
Hi
For starters I'm sorry for my bad english, I'm french.
Here I have a problem with my datatable.
when I am on my local server everything works, my table function.
but when I put it online on my site my table does not show up
(Showing 0 to 0 of 0 entries (filtered from 32 total entries)).
I do not understand what I'm doing wrong.
why it does not appear on my web site online and why on my local website it is displayed correctly. I do not change anything, it's the same database.
my website : http://ckdn.esy.es/
Replies
it's my debug
https://debug.datatables.net/owisuc
Hi @laurent09 ,
I'd say that's pretty good English
The problem is the server-side
fetch.php
script, it's returning this:DataTables is just displaying that. So the server-side script needs some debug, I'm afraid.
Cheers,
Colin
thanks
I dont understand how to debug the file fecth.php?
I dont understand also why on my local websit it's works? while I change anything, they are the same files.
my fetch.php
//fetch.php
thanks for your help
That's one of your scripts, so I don't know off hand. It's not permissions to the database, since it knows the number of records and returns that correctly. It's like to be something around the loop on line 59. Sorry I can't be any more use.
ok i found my mistake i replaced this
$query .= 'ORDER BY uc.date_add DESC ';
by that
$query .= 'ORDER BY date_add DESC ';
and everything works fine.
thank you very much