Trouble with example program Users.html
Trouble with example program Users.html
StanR
Posts: 63Questions: 11Answers: 1
When I try to run this example, the only output I see is my column headers -- no DataTables stuff and no data.
My guess is that Bootstrap.php is not being run. I'm looking in DataTables.php, and I see the line:
include( dirname(__FILE__).'/Bootstrap.php' );
What does dirname(FILE).'/Bootstrap.php' resolve to?
Also, do I have the software installed correctly if Editor and Editor-PHP are at the same level in the hierarchy?
This discussion has been closed.
Answers
Hi @StanR ,
Did you forget the link there?
Cheers,
Colin
Colin, I can't give you a link to the page on my web server.
Are there any files I could send that would be helpful?
I also noticed that some of the links at the top of Users.html aren't correct for my installation. I tried changing them, but that didn't seem to make a difference.
Hi,
The
__FILE__
is a "magic" symbol in PHP and will resolve to the full path on the server for where the file it is executed in is. So The above code basically says to include theBootstrap.php
file from the same location as theDataTables.php
file.Can you use the debugger to give me a trace please - click the Upload button and then let me know what the debug code is?
Thanks,
Allan