Notice (8): Undefined variable: data [APP/View/Layouts/default.ctp, line 9]
Notice (8): Undefined variable: data [APP/View/Layouts/default.ctp, line 10]
Notice (8): Undefined variable: data [APP/View/Layouts/default.ctp, line 13]
NOS-Base
nos-base

Missing Database Connection

Error: A Database connection using "Postgres" was missing or unable to connect.
The database server returned this error: SQLSTATE[08006] [7] could not connect to server: Host is down Is the server running on host "192.168.0.3" and accepting TCP/IP connections on port 5433?

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 260Postgres->connect()
  • CORE/Cake/Model/ConnectionManager.php line 105DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3617ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1155Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3644Model->setSource(string)
  • CORE/Cake/Model/Model.php line 3446Model->getDataSource()
  • APP/Controller/MainController.php line 23Model->query(string)
  • [internal function]MainController->index()
  • CORE/Cake/Controller/Controller.php line 490ReflectionMethod->invokeArgs(MainController, array)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(MainController, CakeRequest)
  • APP/webroot/index.php line 118Dispatcher->dispatch(CakeRequest, CakeResponse)