Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mejorar pantalla de error conexión #6

Closed
tranfuga25s opened this issue Jun 18, 2013 · 0 comments
Closed

Mejorar pantalla de error conexión #6

tranfuga25s opened this issue Jun 18, 2013 · 0 comments
Labels

Comments

@tranfuga25s
Copy link
Owner

Mejorar la pantalla de conexión diciendo que la base de datos no se encuentra funcionando correctamente.

Missing Database Connection
Error: SQLSTATE[HY000] [2002] No route to host requires a database connection

Error: Confirm you have created the file : app/Config/database.php.

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 245 → Mysql->connect()
CORE/Cake/Model/ConnectionManager.php line 101 → DboSource->__construct(array)
CORE/Cake/Model/Model.php line 3417 → ConnectionManager::getDataSource(string)
CORE/Cake/Model/Model.php line 1083 → Model->setDataSource(string)
CORE/Cake/Model/Model.php line 3443 → Model->setSource(string)
CORE/Cake/Model/Model.php line 2698 → Model->getDataSource()
APP/Controller/ClientesController.php line 28 → Model->find(string, array)
[internal function] → ClientesController->inicio()
CORE/Cake/Controller/Controller.php line 485 → ReflectionMethod->invokeArgs(ClientesController, array)
CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(ClientesController, CakeRequest, CakeResponse)
APP/webroot/index.php line 96 → Dispatcher->dispatch(CakeRequest, CakeResponse)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant