A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (08004/1040): Too many connections

Filename: mysqli/mysqli_driver.php

Line Number: 211

Backtrace:

File: /home/smar5861/public_html/application/controllers/Welcome.php
Line: 13
Function: __construct

File: /home/smar5861/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 575

Backtrace:

An uncaught Exception was encountered

Type: RuntimeException

Message: Unable to connect to the database.

Filename: /home/smar5861/public_html/system/database/DB_driver.php

Line Number: 435

Backtrace:

File: /home/smar5861/public_html/application/controllers/Welcome.php
Line: 13
Function: __construct

File: /home/smar5861/public_html/index.php
Line: 321
Function: require_once