Code Context $pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error'
$message = '[MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] Connection refused',
'enabled' => true,
)
Request URL: /transcript/ENST00000510637
Stack Trace:
#0 /var/www/c-it-loci/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/c-it-loci/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/c-it-loci/lib/Cake/Model/Model.php(3524): ConnectionManager::getDataSource('default')
#3 /var/www/c-it-loci/lib/Cake/Model/Model.php(1136): Model->setDataSource('default')
#4 /var/www/c-it-loci/lib/Cake/Model/Model.php(3551): Model->setSource('transcripts')
#5 /var/www/c-it-loci/lib/Cake/Model/Model.php(808): Model->getDataSource()
#6 /var/www/c-it-loci/app/Controller/TranscriptController.php(319): Model->__call('findByid', Array)
#7 /var/www/c-it-loci/app/Controller/TranscriptController.php(319): Transcript->findByid('ENST00000510637')
#8 [internal function]: TranscriptController->show()
#9 /var/www/c-it-loci/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(TranscriptController), Array)
#10 /var/www/c-it-loci/lib/Cake/Routing/Dispatcher.php(191): Controller->invokeAction(Object(CakeRequest))
#11 /var/www/c-it-loci/lib/Cake/Routing/Dispatcher.php(165): Dispatcher->_invoke(Object(TranscriptController), Object(CakeRequest))
#12 /var/www/c-it-loci/app/webroot/index.php(108): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#13 {main}'
$output = '2026-01-06 23:09:13 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] Connection refused',
'enabled' => true,
)
Request URL: /transcript/ENST00000510637
Stack Trace:
#0 /var/www/c-it-loci/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/c-it-loci/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/c-it-loci/lib/Cake/Model/Model.php(3524): ConnectionManager::getDataSource('default')
#3 /var/www/c-it-loci/lib/Cake/Model/Model.php(1136): Model->setDataSource('default')
#4 /var/www/c-it-loci/lib/Cake/Model/Model.php(3551): Model->setSource('transcripts')
#5 /var/www/c-it-loci/lib/Cake/Model/Model.php(808): Model->getDataSource()
#6 /var/www/c-it-loci/app/Controller/TranscriptController.php(319): Model->__call('findByid', Array)
#7 /var/www/c-it-loci/app/Controller/TranscriptController.php(319): Transcript->findByid('ENST00000510637')
#8 [internal function]: TranscriptController->show()
#9 /var/www/c-it-loci/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(TranscriptController), Array)
#10 /var/www/c-it-loci/lib/Cake/Routing/Dispatcher.php(191): Controller->invokeAction(Object(CakeRequest))
#11 /var/www/c-it-loci/lib/Cake/Routing/Dispatcher.php(165): Dispatcher->_invoke(Object(TranscriptController), Object(CakeRequest))
#12 /var/www/c-it-loci/app/webroot/index.php(108): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#13 {main}
'
$filename = 'error.log'
$pathname = '/var/www/c-it-loci/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 442
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 178
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 110
[main] - [internal], line ??