ErrorException Object
(
    [message:protected] => mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.

    [string:Exception:private] => 
    [code:protected] => 2
    [file:protected] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\database\drivers\mysqli\mysqli_driver.php
    [line:protected] => 201
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => custom_error_handler
                    [args] => Array
                        (
                            [0] => 2
                            [1] => mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.

                            [2] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\database\drivers\mysqli\mysqli_driver.php
                            [3] => 201
                            [4] => Array
                                (
                                    [persistent] => 
                                    [hostname] => localhost
                                    [port] => 3309
                                    [socket] => 
                                    [client_flags] => 0
                                )

                        )

                )

            [1] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\database\drivers\mysqli\mysqli_driver.php
                    [line] => 201
                    [function] => real_connect
                    [class] => mysqli
                    [type] => ->
                    [args] => Array
                        (
                            [0] => localhost
                            [1] => root
                            [2] => M4*96shWd2Gk
                            [3] => tg_db_php
                            [4] => 3309
                            [5] => 
                            [6] => 0
                        )

                )

            [2] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\database\DB_driver.php
                    [line] => 401
                    [function] => db_connect
                    [class] => CI_DB_mysqli_driver
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [3] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\database\DB.php
                    [line] => 216
                    [function] => initialize
                    [class] => CI_DB_driver
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Loader.php
                    [line] => 393
                    [function] => DB
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [dsn] => 
                                    [hostname] => localhost
                                    [username] => root
                                    [password] => M4*96shWd2Gk
                                    [database] => tg_db_php
                                    [dbdriver] => mysqli
                                    [dbprefix] => 
                                    [pconnect] => 
                                    [db_debug] => 1
                                    [cache_on] => 
                                    [cachedir] => 
                                    [char_set] => utf8
                                    [dbcollat] => utf8_general_ci
                                    [swap_pre] => 
                                    [encrypt] => 
                                    [compress] => 
                                    [stricton] => 
                                    [failover] => Array
                                        (
                                        )

                                    [save_queries] => 1
                                    [port] => 3309
                                )

                            [1] => 
                        )

                )

            [5] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Loader.php
                    [line] => 1348
                    [function] => database
                    [class] => CI_Loader
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Loader.php
                    [line] => 157
                    [function] => _ci_autoloader
                    [class] => CI_Loader
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Controller.php
                    [line] => 79
                    [function] => initialize
                    [class] => CI_Loader
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\controllers\Welcome.php
                    [line] => 45
                    [function] => __construct
                    [class] => CI_Controller
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\CodeIgniter.php
                    [line] => 518
                    [function] => __construct
                    [class] => Welcome
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\index.php
                    [line] => 315
                    [args] => Array
                        (
                            [0] => C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\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 C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\config\config.php:44) in C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\config\config.php:46 Stack trace: #0 [internal function]: custom_error_handler(2, 'Cannot modify h...', 'C:\\inetpub\\vhos...', 46, Array) #1 C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\config\config.php(46): header('HTTP/1.0 500 In...') #2 [internal function]: custom_exception_handler(Object(ErrorException)) #3 {main} thrown in C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\config\config.php on line 46

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\application\config\config.php:44) in C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Common.php:564 Stack trace: #0 [internal function]: custom_error_handler(2, 'Cannot modify h...', 'C:\\inetpub\\vhos...', 564, Array) #1 C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Common.php(564): header('Status: 500 Int...', true) #2 C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Common.php(607): set_status_header(500) #3 C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Common.php(689): _error_handler(1, 'Uncaught ErrorE...', 'C:\\inetpub\\vhos...', 46) #4 [internal function]: _shutdown_handler() #5 {main} thrown in C:\inetpub\vhosts\tourgenie.com\tms.tourgenie.com\system\core\Common.php on line 564