A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): No such file or directory

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/sanomi/aplikasi/controllers/Home.php
Line: 7
Function: __construct

File: /home/sanomi/public_html/web/index.php
Line: 308
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/sanomi/system-ci/core/Exceptions.php:283)

Filename: core/Common.php

Line Number: 574

Backtrace:

An uncaught Exception was encountered

Type: RuntimeException

Message: Unable to connect to the database.

Filename: /home/sanomi/system-ci/database/DB_driver.php

Line Number: 433

Backtrace:

File: /home/sanomi/aplikasi/controllers/Home.php
Line: 7
Function: __construct

File: /home/sanomi/public_html/web/index.php
Line: 308
Function: require_once