A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 202

Backtrace:

File: /home4/janaka/public_html/application/core/WS_Controller.php
Line: 91
Function: database

File: /home4/janaka/public_html/application/core/WS_Controller.php
Line: 179
Function: both_class_load

File: /home4/janaka/public_html/application/controllers/Wallpaper_private.php
Line: 8
Function: __construct

File: /home4/janaka/public_html/index.php
Line: 285
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 568

Backtrace:

An uncaught Exception was encountered

Type: RuntimeException

Message: Unable to connect to the database.

Filename: /home4/janaka/public_html/system/database/DB_driver.php

Line Number: 436

Backtrace:

File: /home4/janaka/public_html/application/core/WS_Controller.php
Line: 91
Function: database

File: /home4/janaka/public_html/application/core/WS_Controller.php
Line: 179
Function: both_class_load

File: /home4/janaka/public_html/application/controllers/Wallpaper_private.php
Line: 8
Function: __construct

File: /home4/janaka/public_html/index.php
Line: 285
Function: require_once