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: /home/couponbricks/public_html/in/application/models/Master_model.php
Line: 14
Function: database

File: /home/couponbricks/public_html/in/application/controllers/Store.php
Line: 5
Function: __construct

File: /home/couponbricks/public_html/in/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/couponbricks/public_html/in/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/couponbricks/public_html/in/application/models/Master_model.php
Line: 14
Function: database

File: /home/couponbricks/public_html/in/application/controllers/Store.php
Line: 5
Function: __construct

File: /home/couponbricks/public_html/in/index.php
Line: 320
Function: require_once

Database Error

A Database Error Occurred

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

Filename: core/Loader.php

Line Number: 353


Fatal error: Call to a member function close() on string in /home/couponbricks/public_html/in/application/models/Master_model.php on line 483