Code Context $pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error'
$message = '[MongoConnectionException] Failed to connect to: localhost:27017: Previous connection attempts failed, server blacklisted
Stack Trace:
#0 /home/aasaam/xcms/library/Core/Mongo.php(17): MongoClient->__construct()
#1 /home/aasaam/xcms/library/Core/Session.php(31): Core_Mongo::getTemporaryDatabase()
#2 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/Config/bootstrap_xcms.php(186): Core_Session->__construct()
#3 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/Config/bootstrap.php(110): require('/home/aasaam/xc...')
#4 /home/aasaam/xcms/library/Cake/Core/Configure.php(92): include('/home/aasaam/xc...')
#5 /home/aasaam/xcms/library/Cake/bootstrap.php(175): Configure::bootstrap(true)
#6 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/webroot/index.php(144): include('/home/aasaam/xc...')
#7 {main}'
$output = '2025-01-25 08:32:01 Error: [MongoConnectionException] Failed to connect to: localhost:27017: Previous connection attempts failed, server blacklisted
Stack Trace:
#0 /home/aasaam/xcms/library/Core/Mongo.php(17): MongoClient->__construct()
#1 /home/aasaam/xcms/library/Core/Session.php(31): Core_Mongo::getTemporaryDatabase()
#2 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/Config/bootstrap_xcms.php(186): Core_Session->__construct()
#3 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/Config/bootstrap.php(110): require('/home/aasaam/xc...')
#4 /home/aasaam/xcms/library/Cake/Core/Configure.php(92): include('/home/aasaam/xc...')
#5 /home/aasaam/xcms/library/Cake/bootstrap.php(175): Configure::bootstrap(true)
#6 /home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/webroot/index.php(144): include('/home/aasaam/xc...')
#7 {main}
'
$filename = 'error.log'
$pathname = '/home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 452
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 178
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 111
[main] - [internal], line ??