Fatal Error (256): [MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Connection refused" is missing, or could not be created.
#0 /home/gallarch/public_html/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /home/gallarch/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/gallarch/public_html/lib/Cake/Model/Model.php(3267): ConnectionManager::getDataSource('default')
#3 /home/gallarch/public_html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#4 /home/gallarch/public_html/app/Controller/SiteConfigsController.php(14): Model->find('all', NULL)
#5 [internal function]: SiteConfigsController->index()
#6 /home/gallarch/public_html/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(SiteConfigsController), Array)
#7 /home/gallarch/public_html/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#8 /home/gallarch/public_html/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(SiteConfigsController), Object(CakeRequest), Object(CakeResponse))
#9 /home/gallarch/public_html/lib/Cake/Core/Object.php(102): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse), Array)
#10 /home/gallarch/public_html/app/View/Elements/meta_data.ctp(0): Object->requestAction()
#11 /home/gallarch/public_html/lib/Cake/View/View.php(595): include('/home/gallarch/...')
#12 /home/gallarch/public_html/lib/Cake/View/View.php(317): View->_render('/home/gallarch/...', Array)
#13 /home/gallarch/public_html/app/View/Layouts/default.ctp(18): View->element('meta_data', Array)
#14 /home/gallarch/public_html/lib/Cake/View/View.php(595): include('/home/gallarch/...')
#15 /home/gallarch/public_html/lib/Cake/View/View.php(411): View->_render('/home/gallarch/...')
#16 /home/gallarch/public_html/lib/Cake/View/View.php(373): View->renderLayout('Controller ...', 'default')
#17 /home/gallarch/public_html/lib/Cake/Controller/Controller.php(900): View->render('error500', NULL)
#18 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(282): Controller->render('error500')
#19 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(191): ExceptionRenderer->_outputMessageSafe('error500')
#20 [internal function]: ExceptionRenderer->_cakeError(Object(MissingControllerException))
#21 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array)
#22 /home/gallarch/public_html/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#23 [internal function]: ErrorHandler::handleException(Object(MissingControllerException))
#24 {main} [CORE/Cake/Error/ErrorHandler.php, line 136]Code Context $e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
$exception = MissingControllerException
$config = array(
"handler" => "ErrorHandler::handleException",
"renderer" => "ExceptionRenderer",
"log" => true
)
$message = "[MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Connection refused" is missing, or could not be created.
#0 /home/gallarch/public_html/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /home/gallarch/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/gallarch/public_html/lib/Cake/Model/Model.php(3267): ConnectionManager::getDataSource('default')
#3 /home/gallarch/public_html/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#4 /home/gallarch/public_html/app/Controller/SiteConfigsController.php(14): Model->find('all', NULL)
#5 [internal function]: SiteConfigsController->index()
#6 /home/gallarch/public_html/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(SiteConfigsController), Array)
#7 /home/gallarch/public_html/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#8 /home/gallarch/public_html/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(SiteConfigsController), Object(CakeRequest), Object(CakeResponse))
#9 /home/gallarch/public_html/lib/Cake/Core/Object.php(102): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse), Array)
#10 /home/gallarch/public_html/app/View/Elements/meta_data.ctp(0): Object->requestAction()
#11 /home/gallarch/public_html/lib/Cake/View/View.php(595): include('/home/gallarch/...')
#12 /home/gallarch/public_html/lib/Cake/View/View.php(317): View->_render('/home/gallarch/...', Array)
#13 /home/gallarch/public_html/app/View/Layouts/default.ctp(18): View->element('meta_data', Array)
#14 /home/gallarch/public_html/lib/Cake/View/View.php(595): include('/home/gallarch/...')
#15 /home/gallarch/public_html/lib/Cake/View/View.php(411): View->_render('/home/gallarch/...')
#16 /home/gallarch/public_html/lib/Cake/View/View.php(373): View->renderLayout('<h2>Controller ...', 'default')
#17 /home/gallarch/public_html/lib/Cake/Controller/Controller.php(900): View->render('error500', NULL)
#18 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(282): Controller->render('error500')
#19 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(191): ExceptionRenderer->_outputMessageSafe('error500')
#20 [internal function]: ExceptionRenderer->_cakeError(Object(MissingControllerException))
#21 /home/gallarch/public_html/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array)
#22 /home/gallarch/public_html/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#23 [internal function]: ErrorHandler::handleException(Object(MissingControllerException))
#24 {main}"
$renderer = "ExceptionRenderer"
$error = ExceptionRenderer
ExceptionRenderer::$controller = CakeErrorController object
ExceptionRenderer::$template = "missingController"
ExceptionRenderer::$method = "_cakeError"
ExceptionRenderer::$error = MissingControllerException object
$e = MissingConnectionException
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 136
[main] - [internal], line ??