estratagemas Posted March 23, 2017 Share Posted March 23, 2017 Hi, I've the following issue: I'm using PrestaShop with external cache system. When database connection fails (it's not usual but sometimes happens) PrestaShop return "Link to database cannot be established: SQLSTATE xxx" with http 200 response code and it gets cached. I check code and the error is sending using Tools::displayError function. Someone knows if its secure forcing 500 response code inside displayError function without triggering any malfunction. Thanks 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