Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2005] Unknown server host 's24.cyber-folks.pl' (-2)

Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 269Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 105DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3640ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1162Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3667Model->setSource(string)
  • CORE/Cake/Model/Model.php line 834Model->getDataSource()
  • APP/Controller/AppController.php line 62Model->__call(string, array)
  • APP/Controller/AppController.php line 62AppModel->findByHash(string)
  • [internal function]AppController->beforeFilter(CakeEvent)
  • CORE/Cake/Event/CakeEventManager.php line 243call_user_func(array, CakeEvent)
  • CORE/Cake/Controller/Controller.php line 677CakeEventManager->dispatch(CakeEvent)
  • CORE/Cake/Routing/Dispatcher.php line 189Controller->startupProcess()
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(PagesController, CakeRequest)
  • APP/webroot/index.php line 111Dispatcher->dispatch(CakeRequest, CakeResponse)
Notice (8): Undefined variable: partners [APP/View/Layouts/frontend.ctp, line 227]
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/frontend.ctp, line 227]