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] Connection refused
File: /var/www/html/fluxcp/lib/Flux/Connection.php:81
File | Line | Function/Method |
---|---|---|
/var/www/html/fluxcp/lib/Flux/Connection.php | 81 | PDO::__construct() |
/var/www/html/fluxcp/lib/Flux/Connection.php | 94 | Flux_Connection::connect() |
/var/www/html/fluxcp/lib/Flux/Connection.php | 159 | Flux_Connection::getConnection() |
/var/www/html/fluxcp/lib/Flux/TemporaryTable.php | 242 | Flux_Connection::getStatement() |
/var/www/html/fluxcp/lib/Flux/TemporaryTable.php | 98 | Flux_TemporaryTable::drop() |
/var/www/html/fluxcp/lib/Flux/TemporaryTable.php | 73 | Flux_TemporaryTable::create() |
/var/www/html/fluxcp/modules/item/view.php | 14 | Flux_TemporaryTable::__construct() |
/var/www/html/fluxcp/lib/Flux/Template.php | 375 | include() |
/var/www/html/fluxcp/lib/Flux/Dispatcher.php | 170 | Flux_Template::render() |
/var/www/html/fluxcp/index.php | 167 | Flux_Dispatcher::dispatch() |
#0 /var/www/html/fluxcp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*) #1 /var/www/html/fluxcp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config)) #2 /var/www/html/fluxcp/lib/Flux/Connection.php(159): Flux_Connection->getConnection() #3 /var/www/html/fluxcp/lib/Flux/TemporaryTable.php(242): Flux_Connection->getStatement('DROP TEMPORARY ...') #4 /var/www/html/fluxcp/lib/Flux/TemporaryTable.php(98): Flux_TemporaryTable->drop() #5 /var/www/html/fluxcp/lib/Flux/TemporaryTable.php(73): Flux_TemporaryTable->create('ragnarok.item_d...') #6 /var/www/html/fluxcp/modules/item/view.php(14): Flux_TemporaryTable->__construct(Object(Flux_Connection), 'ragnarok.items', Array) #7 /var/www/html/fluxcp/lib/Flux/Template.php(375): include('/var/www/html/f...') #8 /var/www/html/fluxcp/lib/Flux/Dispatcher.php(170): Flux_Template->render() #9 /var/www/html/fluxcp/index.php(167): Flux_Dispatcher->dispatch(Array) #10 {main}