close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Error with rsobj.php

Thread began 1/10/2019 11:15 am by anonymous | Last modified 1/10/2019 2:27 pm by anonymous | 125 views | 12 replies

anonymous

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

Attached Files
rsobj.php

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...