javiqq Posted November 24, 2008 Share Posted November 24, 2008 ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? I am having a really annoying issue with MRBS(room booking PHP application that works with MySQL). I was able to set the application up on the server and create databases/tables for it in MySQL successfully and the application is connecting to the database server (MySQL) successfully. However, I want to use the authentication feature it has called 'db' but it's not recognizing the user I created. When I click on "User List" from the application itself it allows me to enter the very first user, which from my understanding has to be a username defined as an administrator with-in MRBS. SOooo that's what I do and right after it says: "You do not have access rights to modify this item". Then when I try to log in as the user (administrator) that I created, it tells me the same thing!!!! But when I check the MySQL database, it created the table with-in the database successfully AND it created user "administrator" successfully. I don't get it!! I've been trying to figure this out all week and today. So please, if anyone understands what steps I need to take to make this work properly, help me. These are the instructions provided with the application: DB Authentication ------------------- Authentication method, usable on the Internet. Works only with Mysql, will be implemented for Postgresql in an upcoming release. It works by storing the list of users in a new table called mrbs_users in the mrbs database. The authentication is done by the new module auth_db.inc. Enable it by setting $auth["type"]="db" in config.inc.php. Note: The names of administrators are still defined as usual by the $auth["admin"][] list in config.inc.php. The list of users is displayed by clicking on the new "User list" link in the logon box in the top banner. This list is managed by module edit_users.php. Administrators have the right to edit every entry, and add or remove users. Simple users only have the right to edit their own entry. The first time it is accessed, the mrbs_users table is automatically created. *** WARNING *** Whoever is doing the initial edition is assumed to have administrator rights AND MRBS USE "administrator" username. BE CAREFUL TO HAVE THIS ADMINISTRATOR DEFINED IN CONFIG.INC.PHP, OTHERWISE YOU WON'T BE ALLOWED TO ENTER THE FIRST ADMINISTRATOR BELOW. After this step, you can remove the 'administrator' in config.inc.php. *** END OF WARNING *** The first user he creates MUST be an administrator, already defined in config.inc.php. Note: There are two predefined ones, called "administrator" and "127.0.0.1". Once this initial user/administrator is defined, it's necessary to log on using its name to create more users. Also available @: http://mrbs.sourceforge.net/AUTHENTICATION.html If anyone can help, I would appreciate it very much. Quote Link to comment https://forums.phpfreaks.com/topic/134082-help-with-mrbs-please/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.