Sherwin,
I have looked at your files. There are a bunch of red flags that went off in my mind. Your
html.pl file seems to be fine. The problems are in your
db.cgi and
default.cfg files.
In your
db.cgi file, I saw that your members form and add forms may be conflicting with the following set of codes:
Code:
# This line was added to collect users Name and address during the signup process. New users will be required to fill this out to gain access to the db.
# If we allow users to signup, and they want to, go to the signup form.
elsif ($auth_member and $in{'member_form'}) {
&html_member_form;
}
elsif ($auth_member and $in{'member'}) {
&member;
}
# If we allow users to signup, and they want to, go to the signup form.
elsif ($auth_signup and $in{'signup_form'}) {
&html_signup_form;
}
elsif ($auth_signup and $in{'signup'}) {
&signup;
}
# Following two lines added for secure_password_lookup mod
elsif ($in{'lookup_form'}) { &html_lookup_form; }
elsif ($in{'lookup'}) { &lookup; }
Syntax wise, the codes are fine. In terms of logic, it is confusing that you have the two add forms. My initial reaction is that additional permissions may have to be created as not to conflict with the
$per_add permission.
In your
default.cfg file, a couple codes raise concern:
1)
@auth_default_permissions = (1,1,0,0,0); While you are forcing people to log into your system and you do not have a default user, this seems odd to me. Do you want to have only one record per member?
2)
$auth_user_field = 9; You do not even have a field number 9. This may be causing problems as well.
3) Two
%db_def routines
This definitely looks odd to me. Did JPDeni help you with this or did you come up with this on your own? I do know that utilizing two database files needs to have db_cols identified for each database in the default.cfg file.
JPDeni wrote a nice mod for another DBMAN user who wanted to have exactly like you have: a membership database and a resume/job database.
My recommendation is the following:
1) Look at the Thread over in the DBMAN Installation Forum that discusses
Multiple Forms.
2) Wait for JPDeni's return so that she can assist you with writing some mods that will accomplish your goals.
Sorry I cannot be more helpful.
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