ElJefe
Member
Hi,
I followed the instructions in the getting started guide. I then created a test campaign, and set it up to send. When it never arrived, I started looking at the logs. The application log is filling up with errors like these:
I followed the instructions in the getting started guide. I then created a test campaign, and set it up to send. When it never arrived, I started looking at the logs. The application log is filling up with errors like these:
---
2017/11/20 19:53:00 [error] [exception.CDbException] SQLSTATE[HY000] [2002] No such file or directory
2017/11/20 19:53:00 [error] [exception.CDbException] exception 'CDbException' with message 'CDbConnection failed to open the DB connection.' in /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php:405
Stack trace:
#0 /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php(347): CDbConnection->open()
#1 /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)
#2 /Library/WebServer/Documents/mw/apps/common/framework/base/CModule.php(394): CDbConnection->init()
#3 /Library/WebServer/Documents/mw/apps/common/framework/base/CModule.php(103): CModule->getComponent('db')
#4 /Library/WebServer/Documents/mw/apps/common/components/managers/OptionsManager.php(164): CModule->__get('db')
#5 /Library/WebServer/Documents/mw/apps/common/components/managers/OptionsManager.php(73): OptionsManager->loadCategory('system.extensio...')
#6 /Library/WebServer/Documents/mw/apps/common/components/managers/ExtensionsManager.php(191): OptionsManager->get('system.extensio...', 'disabled')
#7 /Library/WebServer/Documents/mw/apps/common/components/managers/ExtensionsManager.php(118): ExtensionsManager->isExtensionEnabled('translate')
#8 /Library/WebServer/Documents/mw/apps/common/components/init/SystemInit.php(86): ExtensionsManager->loadAllExtensions()
#9 /Library/WebServer/Documents/mw/apps/common/framework/base/CComponent.php(561): SystemInit->_runOnBeginRequest(Object(CEvent))
#10 /Library/WebServer/Documents/mw/apps/common/framework/base/CApplication.php(212): CComponent->raiseEvent('onBeginRequest', Object(CEvent))
#11 /Library/WebServer/Documents/mw/apps/common/framework/base/CApplication.php(183): CApplication->onBeginRequest(Object(CEvent))
#12 /Library/WebServer/Documents/mw/apps/init.php(238): CApplication->run()
#13 /Library/WebServer/Documents/mw/apps/console/console.php(28): require_once('/Library/WebSer...')
#14 {main}
---
Also, nothing appears in the cron history. Not sure if those two things are related. I copy/pasted the cron commands from the quick start guide. All the installation checks passed. Ideas?2017/11/20 19:53:00 [error] [exception.CDbException] SQLSTATE[HY000] [2002] No such file or directory
2017/11/20 19:53:00 [error] [exception.CDbException] exception 'CDbException' with message 'CDbConnection failed to open the DB connection.' in /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php:405
Stack trace:
#0 /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php(347): CDbConnection->open()
#1 /Library/WebServer/Documents/mw/apps/common/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)
#2 /Library/WebServer/Documents/mw/apps/common/framework/base/CModule.php(394): CDbConnection->init()
#3 /Library/WebServer/Documents/mw/apps/common/framework/base/CModule.php(103): CModule->getComponent('db')
#4 /Library/WebServer/Documents/mw/apps/common/components/managers/OptionsManager.php(164): CModule->__get('db')
#5 /Library/WebServer/Documents/mw/apps/common/components/managers/OptionsManager.php(73): OptionsManager->loadCategory('system.extensio...')
#6 /Library/WebServer/Documents/mw/apps/common/components/managers/ExtensionsManager.php(191): OptionsManager->get('system.extensio...', 'disabled')
#7 /Library/WebServer/Documents/mw/apps/common/components/managers/ExtensionsManager.php(118): ExtensionsManager->isExtensionEnabled('translate')
#8 /Library/WebServer/Documents/mw/apps/common/components/init/SystemInit.php(86): ExtensionsManager->loadAllExtensions()
#9 /Library/WebServer/Documents/mw/apps/common/framework/base/CComponent.php(561): SystemInit->_runOnBeginRequest(Object(CEvent))
#10 /Library/WebServer/Documents/mw/apps/common/framework/base/CApplication.php(212): CComponent->raiseEvent('onBeginRequest', Object(CEvent))
#11 /Library/WebServer/Documents/mw/apps/common/framework/base/CApplication.php(183): CApplication->onBeginRequest(Object(CEvent))
#12 /Library/WebServer/Documents/mw/apps/init.php(238): CApplication->run()
#13 /Library/WebServer/Documents/mw/apps/console/console.php(28): require_once('/Library/WebSer...')
#14 {main}
---