View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Multiple user level problems

Thread began 11/19/2009 9:00 am by georgina_barrett_187762 | Last modified 11/19/2009 2:24 pm by georgina_barrett_187762 | 836 views | 1 replies

georgina_barrett_187762

Multiple user level problems

I have a site that has one login with multiple access levels stored in a database. The levels are; elite, excel, silver and bronze.
I have set up the rules for each one to allow if
Elite: <?php echo $_SESSION['level']; ?>=elite
Excel: <?php echo $_SESSION['level']; ?>=excel
Silver: <?php echo $_SESSION['level']; ?>=silver
Bronze: <?php echo $_SESSION['level']; ?>=bronze
I have set up the page rules so that when a user logs in it goes to the elite page. If the user level is elite all is well and the user can view that page. However if the user level is not elite it goes to the excel page.
If the user level is excel all is well and the user can view that page. However if the user level is not excel it goes to the silver page.
If the user level is silver all is well and the user can view that page. However if the user level is not silver it goes to the bronze page.
It works for the elite login but if anyone have a level below elite ie excel or silver I get this error on the excel page
Fatal error: Call to undefined function wa_auth_rulepasses() in /home/wwwextr/public_html/excel/index.php on line 3

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...