ReferenceError: Can't find variable: Editor
ReferenceError: Can't find variable: Editor
sharpspoon
Posts: 6Questions: 2Answers: 0
Hello,
I am receiving the following error when loading my Editor table. I am using the newest PHP DataTable version.
I am using:
Python Flask,
Editor-PHP-2.0.10,
Bootstrap5
This question has an accepted answers - jump to answer
Answers
Hi,
That error will happen with Editor 2.0.9 but it should have been fixed with Editor 2.0.10 (like in this example).
You could use this copy of the
editor.bootstrap5.js
file which should work unless there is something else going wrong. If that doesn't fix it, can you give me a link to your page please?Thanks,
Allan
Hi, that new version seemed to have fixed the issue.
Now when I edit my record, no changes are saved to the database.
The connection to the db is successful, because the table populates with the database data.
However, when I create a new record, whatever I type will return to the table with an existing value. After the page is refreshed, the original data is returned.
Here is my php file
Hi,
The PHP looks absolutely fine there. Are you able to give me a link to your page so I can debug it? You can send me a private message if you don't want to make the page url public.
Allan