Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /home/salwarwe/public_html/system/library/db/mysqli.php on line 7

Warning: mysql_error() expects parameter 1 to be resource, object given in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10

Warning: mysql_errno() expects parameter 1 to be resource, object given in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: trace in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: trace in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10

Notice: Undefined variable: sql in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10

Fatal error: Uncaught exception 'Exception' with message 'Error: <br />Error No: <br /> Error in: <b></b> line <b></b><br />' in /home/salwarwe/public_html/system/library/db/mysqli.php:10 Stack trace: #0 /home/salwarwe/public_html/system/library/db.php(9): DB\MySQLi->__construct('localhost', 'salwarwe_admin', 'rohit4483', 'salwarwe_oc', '3306') #1 /home/salwarwe/public_html/system/framework.php(26): DB->__construct('mysqli', 'localhost', 'salwarwe_admin', 'rohit4483', 'salwarwe_oc', '3306') #2 /home/salwarwe/public_html/index.php(26): require_once('/home/salwarwe/...') #3 {main} thrown in /home/salwarwe/public_html/system/library/db/mysqli.php on line 10