Error with rsobj.php
My website shows navigation elements based on a users's access_level. All of a sudden, the system is not recognizing the access_levels and it is thinking that a user is assigned to all access levels. When I view the errors, it points to line 196 in rsobj.php. I didn't make any changes to this file. Here is the recordset that tells the system what access level they are: <?php
$logged_user = new WA_MySQLi_RS("logged_user",$sdpc_i,0);
$logged_user->setQuery("SELECT * FROM ((SELECT * FROM users where username = ?) t1 left join (SELECT * from associations) t2 on (t1.userID = t2.userID) left join (select * from access_levels) t3 on (t1.userID = t3.userID) left join (SELECT * from districts) t4 on (t2.districtID = t4.districtID) left join (SELECT * from software) t5 on (t2.softwareID = t5.softwareID))");
$logged_user->bindParam("s", "".$_SESSION['username'] ."", "-1"); //colname
$logged_user->execute();
?>
I have attached my rsobj file also. Any suggestions would be helpful. Thanks