An error was encountered during the lifetime of the application.
This could be due to a variety of problems, such as a bug in the application.
However, normally it is caused by misconfiguration.
Error: PDOException
Message: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Name or service not known
File: /var/www/html/lib/Flux/Connection.php:97
| File | Line | Function/Method |
|---|---|---|
| /var/www/html/lib/Flux/Connection.php | 97 | PDO::__construct() |
| /var/www/html/lib/Flux/Connection.php | 110 | Flux_Connection::connect() |
| /var/www/html/lib/Flux/Connection.php | 200 | Flux_Connection::getConnection() |
| /var/www/html/addons/rsmtheme/lib/RSM.class.php | 96 | Flux_Connection::getStatement() |
| /var/www/html/modules/main/preprocess.php | 148 | RSM::getPeak() |
| /var/www/html/lib/Flux/Template.php | 372 | include() |
| /var/www/html/lib/Flux/Dispatcher.php | 170 | Flux_Template::render() |
| /var/www/html/index.php | 159 | Flux_Dispatcher::dispatch() |
#0 /var/www/html/lib/Flux/Connection.php(97): PDO->__construct(*hidden*)
#1 /var/www/html/lib/Flux/Connection.php(110): Flux_Connection->connect(Object(Flux_Config))
#2 /var/www/html/lib/Flux/Connection.php(200): Flux_Connection->getConnection()
#3 /var/www/html/addons/rsmtheme/lib/RSM.class.php(96): Flux_Connection->getStatement('SELECT `value` ...')
#4 /var/www/html/modules/main/preprocess.php(148): RSM->getPeak()
#5 /var/www/html/lib/Flux/Template.php(372): include('/var/www/html/m...')
#6 /var/www/html/lib/Flux/Dispatcher.php(170): Flux_Template->render()
#7 /var/www/html/index.php(159): Flux_Dispatcher->dispatch(Array)
#8 {main}