CodeIgniter Forums

Full Version: Migration to new hosting with postgreDB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm looking for help with migration of my website where I using codeigniter. I migrated website to another hosting and on the new hosting is postgreDB.

Everything was ok with migration, but after web running on new hosting with postgreDB I tryed to login to administration in web application and there was the issue. 

I'm not able to  login into my administration. Access data and request are ok, but I getting back bad response (incorrect credential).
I'm currently using version 3.0.6 codeigniter.

This is my setup of DB in config/database.php

Code:
$active_group = 'default';
$query_builder = TRUE;

$db['default'] = array(
    'dsn'    => '',
    'hostname' => 'xxx',
    'username' => 'xxxx',
    'password' => 'xxxx',
    'database' => 'xxx',
    'dbdriver' => 'postgre',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);


Can you please help me anyone?

Thank you,

Ivan