Strict (2048): Declaration of Inmemoriam::afterFind() should be compatible with Model::afterFind($results, $primary = false) [APP/Model/Inmemoriam.php, line 2]
Errors 
Notice (8): Undefined variable: isMobile [APP/View/Elements/head/javascript-first.ctp, line 20]
Notice (8): Undefined variable: isMobile [APP/View/Elements/head/javascript-first.ctp, line 24]
[if lt IE 9]>

Missing Database Connection

Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '87.252.5.100' (111) 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

#0 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(3234): ConnectionManager::getDataSource('default')
#3 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(1030): Model->setDataSource('default')
#4 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(3258): Model->setSource('inmemoriams')
#5 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#6 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/Controller/InmemoriamsController.php(26): Model->find('first', Array)
#7 [internal function]: InmemoriamsController->afficher('68', 'mplf-68')
#8 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(InmemoriamsController), Array)
#9 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#10 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(InmemoriamsController), Object(CakeRequest), Object(CakeResponse))
#11 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/webroot/index.php(102): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#12 {main}
extra
Ensemble vers l'autonomie sur votre mobile
Qrcode
Strict (2048): Declaration of Unite::afterFind() should be compatible with Model::afterFind($results, $primary = false) [APP/Model/Unite.php, line 17]
Strict (2048): Declaration of Video::afterFind() should be compatible with Model::afterFind($results, $primary = false) [APP/Model/Video.php, line 16]
Errors 
Notice (8): Undefined variable: isMobile [APP/View/Elements/head/javascript-first.ctp, line 20]
Notice (8): Undefined variable: isMobile [APP/View/Elements/head/javascript-first.ctp, line 24]
[if lt IE 9]>

Database connection "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '87.252.5.100' (111)" is missing, or could not be created.

Error: An Internal Error Has Occurred.

Stack Trace

#0 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(3234): ConnectionManager::getDataSource('default')
#3 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(1030): Model->setDataSource('default')
#4 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(3258): Model->setSource('inmemoriams')
#5 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#6 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/Controller/InmemoriamsController.php(26): Model->find('first', Array)
#7 [internal function]: InmemoriamsController->afficher('68', 'mplf-68')
#8 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(InmemoriamsController), Array)
#9 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#10 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(InmemoriamsController), Object(CakeRequest), Object(CakeResponse))
#11 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/webroot/index.php(102): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#12 {main}
extra
Ensemble vers l'autonomie sur votre mobile
Qrcode
Fatal Error (256): [MissingConnectionException] Database connection "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '87.252.5.100' (111)" is missing, or could not be created.
#0 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(3260): ConnectionManager::getDataSource('default')
#3 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Model/Model.php(2483): Model->getDataSource()
#4 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/Controller/UnitesController.php(52): Model->find('all', Array)
#5 [internal function]: UnitesController->getAllUnites()
#6 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(UnitesController), Array)
#7 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#8 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(UnitesController), Object(CakeRequest), Object(CakeResponse))
#9 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Core/Object.php(102): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse), Array)
#10 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/View/Elements/prefooter.ctp(2): Object->requestAction(Array)
#11 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/View/View.php(595): include('/var/www/vhosts...')
#12 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/View/View.php(317): View->_render('/var/www/vhosts...', Array)
#13 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/app/View/Layouts/default.ctp(45): View->element('prefooter', Array)
#14 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/View/View.php(595): include('/var/www/vhosts...')
#15 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/View/View.php(411): View->_render('/var/www/vhosts...')
#16 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/View/View.php(373): View->renderLayout('

Database co...', 'default') #17 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Controller/Controller.php(900): View->render('error500', NULL) #18 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Error/ExceptionRenderer.php(282): Controller->render('error500') #19 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Error/ExceptionRenderer.php(191): ExceptionRenderer->_outputMessageSafe('error500') #20 [internal function]: ExceptionRenderer->_cakeError(Object(MissingConnectionException)) #21 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array) #22 /var/www/vhosts/ecpad.fr/webdocs/afghanistan/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render() #23 [internal function]: ErrorHandler::handleException(Object(MissingConnectionException)) #24 {main} [CORE/Cake/Error/ErrorHandler.php, line 136]