Rachit Agarwal Posted October 25, 2020 Share Posted October 25, 2020 (edited) Hi, I want to log the errors if there is an issue in communication with the database after successful connectivity in PS 1.6. So anyone can suggest how I can do that? If I'll use MySQL Cluster and my DB connection is established successfully but there is some issue in MySQL Cluster and My Website is down so how I can get the logs for it? Edited October 25, 2020 by Rachit Agarwal (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted October 25, 2020 Share Posted October 25, 2020 Did you have a look at the /log directory of your shop? What more do you want? Link to comment Share on other sites More sharing options...
Rachit Agarwal Posted October 26, 2020 Author Share Posted October 26, 2020 11 hours ago, musicmaster said: Did you have a look at the /log directory of your shop? What more do you want? Yes I've checked it. If the connection is not there, only then it is logging the error message. I need to log those errors as well, if the connection is established successfully but somehow Prestashop is not able to get the data from Db (it can be happened if we are using MySQL Cluster). Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2020 Share Posted October 26, 2020 I don't know about that. I guess you will need to get into the code at the exact point where the PHP call is made. And look then what happens when no data is returned. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now