You have encountered an unexpected problem. Detailed information has been sent to the administrator.

We apologize for the inconvenience

- Code 101: Database connection failed

Fatal error!

An error occurred while trying to write to the log: error_log(/opt/Apache/htdocs/peerpower/opt/Apache/htdocs/peerpower/log/pa.log) [function.error-log]: failed to open stream: No such file or directory.

Check that the log file (/opt/Apache/htdocs/peerpower/opt/Apache/htdocs/peerpower/log/pa.log) is writeable by the web server.

Here's the message I was trying to log:

[04/29/17 1:30:17] [ ERROR: ][ An exception occurred: code 101, message Database connection failed #0 /opt/Apache/htdocs/peerpower/core/db/Dal/Dal.php(91): Dal::get_connection() #1 /opt/Apache/htdocs/peerpower/extended/EtPost/EtPost.php(465): Dal::query('UPDATE {tbl_et_...', Array) #2 /opt/Apache/htdocs/peerpower/web/et_publicdiscussions.php(14): EtPost::increaseHits('2093') #3 {main}]