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] [1040] Too many connections',
'enabled' => true,
)
Request URL: /girl_pages/index/prefecture_id:44/prefecture:%E5%A4%A7%E5%88%86%E7%9C%8C
Stack Trace:
#0 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(3476): ConnectionManager::getDataSource('shared')
#3 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(1126): Model->setDataSource('shared')
#4 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(3498): Model->setSource('cake_sessions')
#5 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(2902): Model->getDataSource()
#6 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(2874): Model->_readDataSource('first', Array)
#7 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/Session/DatabaseSession.php(94): Model->find('first', Array)
#8 [internal function]: DatabaseSession->read('a2cnf344pab5291...')
#9 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(629): session_start()
#10 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(198): CakeSession::_startSession()
#11 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(375): CakeSession::start()
#12 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/Component/SessionComponent.php(69): CakeSession::read('Config.userAgen...')
#13 /home/kweather_ftp/shared/plugins/DebugKit/Controller/Component/ToolbarComponent.php(161): SessionComponent->read('Config.userAgen...')
#14 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/ComponentCollection.php(116): ToolbarComponent->__construct(Object(ComponentCollection), Array)
#15 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/ComponentCollection.php(53): ComponentCollection->load('DebugKit.Toolba...', Array)
#16 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/Controller.php(643): ComponentCollection->init(Object(GirlPagesController))
#17 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Routing/Dispatcher.php(181): Controller->constructClasses()
#18 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Routing/Dispatcher.php(160): Dispatcher->_invoke(Object(GirlPagesController), Object(CakeRequest), Object(CakeResponse))
#19 /home/kweather_ftp/public_html/ak.selfish4.com/webroot/index.php(108): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#20 {main}'
$output = '2021-04-18 20:54:24 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1040] Too many connections',
'enabled' => true,
)
Request URL: /girl_pages/index/prefecture_id:44/prefecture:%E5%A4%A7%E5%88%86%E7%9C%8C
Stack Trace:
#0 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(3476): ConnectionManager::getDataSource('shared')
#3 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(1126): Model->setDataSource('shared')
#4 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(3498): Model->setSource('cake_sessions')
#5 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(2902): Model->getDataSource()
#6 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Model.php(2874): Model->_readDataSource('first', Array)
#7 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/Session/DatabaseSession.php(94): Model->find('first', Array)
#8 [internal function]: DatabaseSession->read('a2cnf344pab5291...')
#9 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(629): session_start()
#10 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(198): CakeSession::_startSession()
#11 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Model/Datasource/CakeSession.php(375): CakeSession::start()
#12 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/Component/SessionComponent.php(69): CakeSession::read('Config.userAgen...')
#13 /home/kweather_ftp/shared/plugins/DebugKit/Controller/Component/ToolbarComponent.php(161): SessionComponent->read('Config.userAgen...')
#14 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/ComponentCollection.php(116): ToolbarComponent->__construct(Object(ComponentCollection), Array)
#15 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/ComponentCollection.php(53): ComponentCollection->load('DebugKit.Toolba...', Array)
#16 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Controller/Controller.php(643): ComponentCollection->init(Object(GirlPagesController))
#17 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Routing/Dispatcher.php(181): Controller->constructClasses()
#18 /home/kweather_ftp/shared/files/ak.selfish4.com/lib/Cake/Routing/Dispatcher.php(160): Dispatcher->_invoke(Object(GirlPagesController), Object(CakeRequest), Object(CakeResponse))
#19 /home/kweather_ftp/public_html/ak.selfish4.com/webroot/index.php(108): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#20 {main}
'
$filename = 'error.log'
$pathname = '/home/kweather_ftp/public_html/ak.selfish4.com/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 ??