Are there any reports/logs saying all PHP and MySQL errors that occured on server? With date, time, some user info (browser, IP), and count of that error happened if possible.
In addition every time my mysql_query fails die message is pulled from included file:
$error_message[0] = 'Error no. 0!';
$error_message[1] = 'Error no. 1!';
$error_message[2] = 'Error no. 2!';
Is there a way to monitor which message and when was displayed?
Yes, there are error logs for both: httpd (or apache) and mysqld.
You find them in:
(these path could be a little different on your sever depends on configuration files, eg. you can specify mysql error log file location passing –log-error=XXX option to mysqld)