From the url itself, it would appear that the Editor trial directory is not inside the DataTables `extras` directory. This is required for the paths to work out of the box. Obviously you can change them as you wish, but if you follow the following steps from the tutorial, the paths should all resolve correctly:
[quote]
So the first thing to do is to download the latest DataTables package from the DataTables download page and put it on your web-server:
1. Download the latest DataTables package by clicking on the large blue button on the DataTables download page
2. Once the download has completed, unzip the file that was downloaded
3. Now upload the whole DataTables directory to your web-server (using FTP, SSH or anything else).
As DataTables has no server-side dependencies for a basic install, this is all that is needed! Now you can load http://myWebSite.com/DataTables-1.9.4/examples/ in your web-browser and see the DataTables examples running.
The next step is to repeat the above for the Editor package:
1. Download the latest Editor package by clicking on the large blue button on the Editor download page
2. Once the download has completed, unzip the file that was downloaded
3. Now upload the Editor directory to your web-server into the DataTables-1.9.4/extras directory that was created when you uploaded the DataTables package.
[/quote]
You should send up with a url such as `http://localhost:8080/DataTables-19.4/extras/Editor-1.2.3-Trial/examples/index.html`
Just getting the following alert now when I navigate the pages:
The page at localhost:8080 says:
DataTables warning (table id = 'example'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
The issue you are seeing now is caused by the return from the server being invalid JSON.
Have you updated the configuration file to be able to read from your database (i.e. set the user name and password, db name etc)? Have you also imported the SQL schema for the Editor demo database?
Replies
If you have, could you link me to the page you are using so I could take a look and see what is going wrong?
Thanks,
Allan
http://localhost:8080/Editor-1.2.3-Trial/examples/index.html
It looks like the references to the styles and .js file are probably incorrect!
It will be difficult to link toy to the page because I'm behind a firewall.
Regards,
Carl
From the url itself, it would appear that the Editor trial directory is not inside the DataTables `extras` directory. This is required for the paths to work out of the box. Obviously you can change them as you wish, but if you follow the following steps from the tutorial, the paths should all resolve correctly:
[quote]
So the first thing to do is to download the latest DataTables package from the DataTables download page and put it on your web-server:
1. Download the latest DataTables package by clicking on the large blue button on the DataTables download page
2. Once the download has completed, unzip the file that was downloaded
3. Now upload the whole DataTables directory to your web-server (using FTP, SSH or anything else).
As DataTables has no server-side dependencies for a basic install, this is all that is needed! Now you can load http://myWebSite.com/DataTables-1.9.4/examples/ in your web-browser and see the DataTables examples running.
The next step is to repeat the above for the Editor package:
1. Download the latest Editor package by clicking on the large blue button on the Editor download page
2. Once the download has completed, unzip the file that was downloaded
3. Now upload the Editor directory to your web-server into the DataTables-1.9.4/extras directory that was created when you uploaded the DataTables package.
[/quote]
You should send up with a url such as `http://localhost:8080/DataTables-19.4/extras/Editor-1.2.3-Trial/examples/index.html`
Regards,
Allan
Just getting the following alert now when I navigate the pages:
The page at localhost:8080 says:
DataTables warning (table id = 'example'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
The issue you are seeing now is caused by the return from the server being invalid JSON.
Have you updated the configuration file to be able to read from your database (i.e. set the user name and password, db name etc)? Have you also imported the SQL schema for the Editor demo database?
Finally, are you using PHP v5.3 or newer?
Allan