Trouble with example program Users.html

Trouble with example program Users.html

StanRStanR 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?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @StanR ,

    Did you forget the link there?

    Cheers,

    Colin

  • StanRStanR Posts: 63Questions: 11Answers: 1

    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?

  • StanRStanR Posts: 63Questions: 11Answers: 1

    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.

  • allanallan Posts: 63,457Questions: 1Answers: 10,465 Site admin

    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 the Bootstrap.php file from the same location as the DataTables.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

This discussion has been closed.