A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): Connection refused

Filename: mysqli/mysqli_driver.php

Line Number: 202

Backtrace:

File: /webroot/www/discovery_center/application/core/MY_Model.php
Line: 18
Function: database

File: /webroot/www/discovery_center/application/models/User_type_model.php
Line: 11
Function: __construct

File: /webroot/www/discovery_center/application/controllers/Course.php
Line: 42
Function: model

File: /webroot/www/discovery_center/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /webroot/www/discovery_center/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /webroot/www/discovery_center/application/core/MY_Model.php
Line: 18
Function: database

File: /webroot/www/discovery_center/application/models/User_type_model.php
Line: 11
Function: __construct

File: /webroot/www/discovery_center/application/controllers/Course.php
Line: 42
Function: model

File: /webroot/www/discovery_center/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: models/User_type_model.php

Line Number: 11