Warning (2): file_put_contents(/var/www/html/portal-deficiente/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]
Deficiente Saudável

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

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 278Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 105DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3659ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1162Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3686Model->setSource(string)
  • CORE/Cake/Model/Model.php line 3053Model->getDataSource()
  • CORE/Cake/Model/Model.php line 3025Model->_readDataSource(string, array)
  • APP/Controller/AppController.php line 40Model->find(string, array)
  • CORE/Cake/Event/CakeEventManager.php line 243AppController->beforeFilter(CakeEvent)
  • CORE/Cake/Controller/Controller.php line 682CakeEventManager->dispatch(CakeEvent)
  • CORE/Cake/Routing/Dispatcher.php line 189Controller->startupProcess()
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(PrincipalController, CakeRequest)
  • APP/webroot/index.php line 154Dispatcher->dispatch(CakeRequest, CakeResponse)