Gossamer Forum
Home : Products : DBMan : Installation :

Not getting the login form

Quote Reply
Not getting the login form
I suspect this is something relly dumb, but I'm stuck and need some help.
When I go to:
http://www.mydomain.com/cgi-local/dbman/db.cgi
I get the "main Menu" instead of the logging form!
What's wrong? How do you logon?
I have looked over all the info and have not gotten an answer to this.
Maybe there is something in the permissions that is not set right.
I reisntalled the whole thing again and I always get the Main Menu instead of the logging form.
HELP!!!
Thanks
Quote Reply
Re: Not getting the login form In reply to
What are your authentication settings in the default.cfg file?

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Not getting the login form In reply to
Just the defaults that come with DBMan:

# Authorization Options
# --------------------------------------------------------
# No Authentication? (1 = "there is no authentication", 0 = "there is authentication")
# If you choose no authentication, then set the permissions of what
# people can do with: @auth_default_permissions below.
$auth_no_authentication = 0;

# The amount of time in seconds that user files are kept in the
# auth directory before the program removes them. 2-6 hours is
# probably a good value.
$auth_time = 21600; # 6 hours (in seconds)

# Enable (1) or disable (0) logging.
$auth_logging = 1;

# Allow a default user? This means you can specify a user via the URL
# and skip the logon process. Use this to allow people to search without
# logging on, but require log in if they want to add/modify/remove etc.
# (1 = "yes", 0 = "no")
$auth_allow_default = 0;

# Default permissions used if there is no authentication, or for a default
# user. (View, Add, Delete, Modify, Admin), 1 = enable, 0 = disable.
@auth_default_permissions = (1,1,1,1,0);

# Allow people to sign up for their own userid/passwords? They will
# recieve default permissions.
$auth_signup = 1;

# Permissions a new signup should get.
@auth_signup_permissions = (1,1,1,1,0);

# Registered users: can modify/delete _only_ own records. For this to make
# sense you should set default off or to 1,0,0,0.
$auth_modify_own = 0;

# Registered users: can view _only_ own records. For this to make sense
# you should turn off default permissions.
$auth_view_own = 0;

# Auth user field. This is the field position in the database used for storing
# the userid who owns the record. Set to -1 if not used.
$auth_user_field = 9;
Quote Reply
Re: Not getting the login form In reply to
What is your Userid field number? I noticed that you have the default number of 9. If you do not have a Userid field, then it needs to be -1. The other permissions seem to be set-up correctly.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Not getting the login form In reply to
Userid => [9, 'alpha', -2, 15, 0, '', '']

The strange thing is that I'm using the defaults for everything and I get no logging form!
As I said, I decided to reinstall everything with defaults and I still not get the loging form. The script runs but goes directly to the Main Menu
Quote Reply
Re: Not getting the login form In reply to
Could you please the URL where your DBMAN site is located? The URL provided is NOT your web site.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Not getting the login form In reply to
http://www.coffee-exchange.com/cgi-local/dbman/db.cgi?db=adcc

The web site is under construction and under password, use:

username: xavier
password: nicole

to get in.

Thanks
Quote Reply
Re: Not getting the login form In reply to
The DBMan script picks up the userid and password from your .htaccess.


------------------
JPD





Quote Reply
Re: Not getting the login form In reply to
Now I get it!
What can be done in this case then?
Do I have to disable the password altogether for DBMan to work properly?
Thanks,

Rodrigo

BTW - Your tutorial helped a lot!