A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Filename: mysqli/mysqli_driver.php

Line Number: 161

Backtrace:

File: /home/pharmsap/application/controllers/Welcome.php
Line: 10
Function: __construct

File: /home/pharmsap/index.php
Line: 298
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/pharmsap/application/controllers/Welcome.php
Line: 10
Function: __construct

File: /home/pharmsap/index.php
Line: 298
Function: require_once

Database Error

A Database Error Occurred

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

Filename: controllers/Welcome.php

Line Number: 10