Database connection failed
195 | |
196 | // creates the pdo instance |
197 | try { |
198 | $this->pdo = new PDO($info['dsn'], $info['username'], $info['password']); |
199 | } catch (Exception $e) { |
200 | require_once 'Atomik/Db/Exception.php'; |
201 | throw new Atomik_Db_Exception('Database connection failed'); |
202 | } |
203 | } |
204 | |
205 | /** |
206 | * Closes the database connection |
207 | */ |
208 | public function disconnect() |
#0 /home/bienvenuk/www/transfer_cc/app/plugins/Db/libraries/Atomik/Db/Instance.php(387): Atomik_Db_Instance->connect()
#1 /home/bienvenuk/www/transfer_cc/app/plugins/Db/libraries/Atomik/Db.php(269): Atomik_Db_Instance->exec('SET NAMES utf8')
#2 /home/bienvenuk/www/transfer_cc/app/pre_dispatch.php(16): Atomik_Db::exec('SET NAMES utf8')
#3 /home/bienvenuk/www/transfer_cc/index.php(625): require('/home/bienvenuk...')
#4 /home/bienvenuk/www/transfer_cc/index.php(473): Atomik::dispatch('changelang')
#5 /home/bienvenuk/www/transfer_cc/index.php(269): Atomik::run()
#6 {main}