How Can I show a custom view instead of the generic error attached in cases of the database going down unexpectedly?
In applications folder there is a folder named errors. There are all error files
which comes up when an error is occurred.
When database error is occured, error_db.php file is shown in browser. You can edit it or replace that with your custom file.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With