Editor is not connecting to Mysql database
Editor is not connecting to Mysql database
dt_user
Posts: 51Questions: 16Answers: 0
Good night, When I try to edit or create a new record I am getting an error saying: A system error has occurred (More information). I think I am getting this error because editor isn't connecting to my database.
Please let me know if I am correct and how i can fix this error.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There are some troublehooting steps in the link provided in the error:
https://datatables.net/manual/tech-notes/12
Let us know what you find.
Kevin
The response is empty. It says: This request has no response data available.
Hi @dt_user ,
I replied on your other thread about how to configure to the database, is this a side-effect of that? If you're having problems getting the connection still, let us know - but that tech note that Kevin pointed you towards is a good place to start.
Cheers,
Colin
Ok I will follow the instructions on the new link and do over the editor installation. Because I have already checked the lib/config folder and I did over the editor installation steps but editor did not work yesterday.
Is there another file that editor needs that could be missing?
After following the steps on this link https://datatables.net/manual/tech-notes/12 my sever script gives me this error. This is also the script I use in the ajax options of editor.
See code below
I can't find these two files in my editor download package:
1. require 'vendor/autoload.php';
2. require 'db.php'; // defines $database;.
Could this cause editor not to work?
One big problem here, is that you're posting multiple threads at the same time, so it's hard to understand what you're current issue. There were three from you this morning. If you are experiencing problems still, can we consolidate on your thread here.
Cheers,
Colin
Neither of those files are ours. As I said in one of your other threads, you have to configure the DB connection in
config.php
Have a look at your server's error logs. An empty response is indeed invalid JSON, so DataTables is correct in giving you an error there. The key is that we need to discover what is going wrong on the server. The http server's error log should contain that information.
Allan
Sorry about the multiple threads. This is my current issue: https://datatables.net/forums/discussion/56789/error-joining-two-mysql-tables/p1?new=1.