Critical Error

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.

Exception Details

Error: PDOException

Message: SQLSTATE[HY000] [2002] Connection refused

File: /home/darkrone/public_html/lib/Flux/Connection.php:97

File Line Function/Method
/home/darkrone/public_html/lib/Flux/Connection.php 97 PDO::__construct()
/home/darkrone/public_html/lib/Flux/Connection.php 110 Flux_Connection::connect()
/home/darkrone/public_html/lib/Flux/Connection.php 200 Flux_Connection::getConnection()
/home/darkrone/public_html/modules/vending/index.php 7 Flux_Connection::getStatement()
/home/darkrone/public_html/lib/Flux/Template.php 375 include()
/home/darkrone/public_html/lib/Flux/Dispatcher.php 170 Flux_Template::render()
/home/darkrone/public_html/index.php 154 Flux_Dispatcher::dispatch()

Exception Trace As String

#0 /home/darkrone/public_html/lib/Flux/Connection.php(97): PDO->__construct(*hidden*)
#1 /home/darkrone/public_html/lib/Flux/Connection.php(110): Flux_Connection->connect(Object(Flux_Config))
#2 /home/darkrone/public_html/lib/Flux/Connection.php(200): Flux_Connection->getConnection()
#3 /home/darkrone/public_html/modules/vending/index.php(7): Flux_Connection->getStatement('SELECT COUNT(id...')
#4 /home/darkrone/public_html/lib/Flux/Template.php(375): include('/home/darkrone/...')
#5 /home/darkrone/public_html/lib/Flux/Dispatcher.php(170): Flux_Template->render()
#6 /home/darkrone/public_html/index.php(154): Flux_Dispatcher->dispatch(Array)
#7 {main}