I accidentally pushed a bad piece of code yesterday. My site was down for the entire day. Embarrassing, yes. The worst part was that my customers had no way of contacting me to tell me it was down.
I can't see to get the custom error page of codeigniter working for php errors application/errors/error_general.php.
I think this probably needs to be done at the Apache level. I've tried putting ErrorDocument 500 /error.html in the base folders .htacess file. That hasn't worked either.
Basically, I'd like a way to generate a customer error page for php errors in codeigniter. Any suggestions?
ErrorDocumentalso won't be used. I'd suggest monitoring error logs by cron-job.