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:21:45] [ 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(1455): Dal::query('SELECT firstabl...', Array) #2 /opt/Apache/htdocs/peerpower/web/et_categorypage.php(39): EtPost::allcategory_list_most_count('9') #3 {main}]