MBRS db loggin issue!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
javiqq
Forum Newbie
Posts: 17
Joined: Wed Oct 29, 2008 9:15 am

MBRS db loggin issue!!!

Post by javiqq »

:banghead: :banghead: :banghead:

??? ??? ???

I am having a really annoying issue with MRBS. I was able to set-up the application on the server and create databases/tables for it in MySQL successfully. Also the application is connecting to the server and database successfully. However, I want to use the authentication feature it has called 'db'.

When I click on "User List" from the application itself it allows me to enter the very first user, which from my understanding needs to be defined as an administrator already with in the application. SOooo that's what I do, but when I try to log in as the very user I created it doesn't let me!!!! I've been trying to figure this out since all week and today.

Please, if anyone understands what steps I need to take to make this function properly, help me.

These are the instructions:

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, please I would appreciate it very much.
Post Reply