A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 7
Function: __construct

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Triplist.php
Line: 9
Function: database

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 7
Function: __construct

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Admin_model.php
Line: 9
Function: database

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 7
Function: __construct

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Admin_model.php
Line: 10
Function: database

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 7
Function: __construct

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Locations_model.php
Line: 11
Function: database

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 7
Function: __construct

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Blog_model.php
Line: 11
Function: database

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 8
Function: model

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /home/aayushsingh6330/public_html/application/models/Locations_model.php
Line: 19
Function: get_where

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 14
Function: getStartingLocationDetail

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Error

Message: Call to a member function result() on boolean

Filename: /home/aayushsingh6330/public_html/application/models/Locations_model.php

Line Number: 21

Backtrace:

File: /home/aayushsingh6330/public_html/application/controllers/Travel.php
Line: 14
Function: getStartingLocationDetail

File: /home/aayushsingh6330/public_html/index.php
Line: 315
Function: require_once