Warning (2): file_put_contents(/home/aasaam/xcms-projects/topmark_ir/project/www-stable/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]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: Remote server has closed the connection
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 = '2024-06-17 10:09:24 Error: [MongoConnectionException] Failed to connect to: localhost:27017: Remote server has closed the connection
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 ??
500 Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
[email protected] and inform them
of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.