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:25:50] [ 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/PPHotContents/PPHotContents.php(87): Dal::query('SELECT * FROM p...', Array) #2 /opt/Apache/htdocs/peerpower/web/ViewModules/LoginModule/LoginModule.php(12): PPHotContents->get_hot_content_listing(6) #3 /opt/Apache/htdocs/peerpower/core/Page/Page.php(180): LoginModule->render() #4 /opt/Apache/htdocs/peerpower/core/Page/Page.php(222): Page::render_modules() #5 /opt/Apache/htdocs/peerpower/web/login.php(30): Page::fetch() #6 {main}]