Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/customer/www/art-d.ca/public_html/code/include/db.php on line 30

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/customer/www/art-d.ca/public_html/code/include/db.php on line 38

SELECT Login.ID, Email, AdministratorID, SessionFinish, Status FROM Session LEFT OUTER JOIN Login ON Session.LoginID=Login.ID WHERE Session.ID='1fb54af4589b7435f9f4af0e34b4d17f' AND Session.Closed IS NULL
File (Line)Function
/home/customer/www/art-d.ca/public_html/code/include/db.php (69) ExecSQL
/home/customer/www/art-d.ca/public_html/code/security/security.php (160) Select
/home/customer/www/art-d.ca/public_html/code/security/security.php (138) LoadSession
/home/customer/www/art-d.ca/public_html/code/security/security.php (8) PrepareGlobals
/home/customer/www/art-d.ca/public_html/code/starter.php (8) require_once
/home/customer/www/art-d.ca/public_html/pricing.php (2) require_once


Fatal error: Uncaught Exception: Error executing SQL statement: SELECT Login.ID, Email, AdministratorID, SessionFinish, Status FROM Session LEFT OUTER JOIN Login ON Session.LoginID=Login.ID WHERE Session.ID='1fb54af4589b7435f9f4af0e34b4d17f' AND Session.Closed IS NULL () in /home/customer/www/art-d.ca/public_html/code/include/db.php:43 Stack trace: #0 /home/customer/www/art-d.ca/public_html/code/include/db.php(69): ExecSQL('SELECT Login.ID...') #1 /home/customer/www/art-d.ca/public_html/code/security/security.php(160): Select('SELECT Login.ID...') #2 /home/customer/www/art-d.ca/public_html/code/security/security.php(138): LoadSession() #3 /home/customer/www/art-d.ca/public_html/code/security/security.php(8): PrepareGlobals() #4 /home/customer/www/art-d.ca/public_html/code/starter.php(8): require_once('/home/customer/...') #5 /home/customer/www/art-d.ca/public_html/pricing.php(2): require_once('/home/customer/...') #6 {main} thrown in /home/customer/www/art-d.ca/public_html/code/include/db.php on line 43