Warning (2): file_put_contents(/home/www-mediacom/www/nouvellegolf-gti.fr/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 87]
Volkswagen - Nouvelle Golf GTI - Envoyez le hashtag #GolfGTI

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[42000] [1049] Unknown database 'newgolfgti'

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

Stack Trace

CakePHP: the rapid development php framework: Errors/

Database connection "Mysql" is missing, or could not be created.

Error: An Internal Error Has Occurred.

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 262Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 107DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3221ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1108Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3243Model->setSource(string)
  • CORE/Cake/Model/Model.php line 2696Model->getDataSource()
  • APP/Controller/PagesController.php line 60Model->find(string, array)
  • [internal function]PagesController->home()
  • CORE/Cake/Controller/Controller.php line 486ReflectionMethod->invokeArgs(PagesController, array)
  • CORE/Cake/Routing/Dispatcher.php line 187Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 162Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 109Dispatcher->dispatch(CakeRequest, CakeResponse)