ErrorException Object
(
    [message:protected] => mysqli::real_connect(): (HY000/2002): Connection refused
    [string:Exception:private] => 
    [code:protected] => 2
    [file:protected] => /var/www/forset/vendor/codeigniter/framework/system/database/drivers/mysqli/mysqli_driver.php
    [line:protected] => 203
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => my_error_handler
                )

            [1] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/database/drivers/mysqli/mysqli_driver.php
                    [line] => 203
                    [function] => real_connect
                    [class] => mysqli
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/database/DB_driver.php
                    [line] => 401
                    [function] => db_connect
                    [class] => CI_DB_mysqli_driver
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/database/DB.php
                    [line] => 216
                    [function] => initialize
                    [class] => CI_DB_driver
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /var/www/forset/application/third_party/MX/Loader.php
                    [line] => 109
                    [function] => DB
                )

            [5] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/libraries/Session/drivers/Session_database_driver.php
                    [line] => 85
                    [function] => database
                    [class] => MX_Loader
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/libraries/Session/Session.php
                    [line] => 105
                    [function] => __construct
                    [class] => CI_Session_database_driver
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1285
                    [function] => __construct
                    [class] => CI_Session
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1178
                    [function] => _ci_init_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1043
                    [function] => _ci_load_stock_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1089
                    [function] => _ci_load_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /var/www/forset/application/third_party/MX/Loader.php
                    [line] => 173
                    [function] => _ci_load_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => /var/www/forset/application/libraries/Ion_auth.php
                    [line] => 64
                    [function] => library
                    [class] => MX_Loader
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1284
                    [function] => __construct
                    [class] => Ion_auth
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/Loader.php
                    [line] => 1083
                    [function] => _ci_init_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /var/www/forset/application/third_party/MX/Loader.php
                    [line] => 173
                    [function] => _ci_load_library
                    [class] => CI_Loader
                    [type] => ->
                )

            [16] => Array
                (
                    [file] => /var/www/forset/application/third_party/MX/Loader.php
                    [line] => 192
                    [function] => library
                    [class] => MX_Loader
                    [type] => ->
                )

            [17] => Array
                (
                    [file] => /var/www/forset/application/third_party/MX/Loader.php
                    [line] => 153
                    [function] => libraries
                    [class] => MX_Loader
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => /var/www/forset/application/libraries/Admin_Controller.php
                    [line] => 15
                    [function] => library
                    [class] => MX_Loader
                    [type] => ->
                )

            [19] => Array
                (
                    [file] => /var/www/forset/application/modules/admin/controllers/Admin.php
                    [line] => 6
                    [function] => __construct
                    [class] => Admin_Controller
                    [type] => ->
                )

            [20] => Array
                (
                    [file] => /var/www/forset/vendor/codeigniter/framework/system/core/CodeIgniter.php
                    [line] => 518
                    [function] => __construct
                    [class] => Admin
                    [type] => ->
                )

            [21] => Array
                (
                    [file] => /var/www/forset/public/index.php
                    [line] => 324
                    [args] => Array
                        (
                            [0] => /var/www/forset/vendor/codeigniter/framework/system/core/CodeIgniter.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 0
)

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/forset/application/config/development/config.php:548) in /var/www/forset/application/config/development/config.php:550 Stack trace: #0 [internal function]: my_error_handler() #1 /var/www/forset/application/config/development/config.php(550): header() #2 [internal function]: my_exception_handler() #3 {main} thrown in /var/www/forset/application/config/development/config.php on line 550

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/forset/application/config/development/config.php:548) in /var/www/forset/vendor/codeigniter/framework/system/core/Common.php:570 Stack trace: #0 [internal function]: my_error_handler() #1 /var/www/forset/vendor/codeigniter/framework/system/core/Common.php(570): header() #2 /var/www/forset/vendor/codeigniter/framework/system/core/Common.php(607): set_status_header() #3 /var/www/forset/vendor/codeigniter/framework/system/core/Common.php(689): _error_handler() #4 [internal function]: _shutdown_handler() #5 {main} thrown in /var/www/forset/vendor/codeigniter/framework/system/core/Common.php on line 570