This one has me! Uploaded dbman with all defaults intact except changed path to Perl in db.cgi and set up URl to script in default.cfg. Used ASCII and set permissions. No luck. Used JPDeni's instructions exactly and got to Main screen to add self. No luck. Found that nothing went to default.pass file. Using 5 other cgi programs at this site (lbscottishrite.com) and they work fine. You can see db.txt and default.text at wrcinfo.com. Pleeeeze help! Thank you in advance. Ken
Jun 22, 2001, 7:40 PM
Enthusiast / Moderator (885 posts)
Jun 22, 2001, 7:40 PM
Post #2 of 10
Views: 4911
Jun 23, 2001, 11:33 AM
Enthusiast / Moderator (885 posts)
Jun 23, 2001, 11:33 AM
Post #4 of 10
Views: 4898
Hi Ken,
Try removing the trailing slash from the path in db.cgi
$db_script_path = "/home/sites/www.lbscottishrite.com/web/domaincgi/dbman/";
If that doesn't resolve the problem, please copy your html.pl file as a .text file and make that available also.
You're right ... I didn't catch that the extension was wrong Just did a copy/paste from your initial post.
Try removing the trailing slash from the path in db.cgi
$db_script_path = "/home/sites/www.lbscottishrite.com/web/domaincgi/dbman/";
If that doesn't resolve the problem, please copy your html.pl file as a .text file and make that available also.
You're right ... I didn't catch that the extension was wrong Just did a copy/paste from your initial post.
Jun 23, 2001, 7:04 PM
Enthusiast / Moderator (885 posts)
Jun 23, 2001, 7:04 PM
Post #6 of 10
Views: 4873
Hi Ken, there are no authorized users on your database I was able to gain access using the default user however when trying to add a user, I was again directed to the login screen.
Have you uploaded the auth.pl file and the /auth folder (with the index.html inside) and set permissions for those files? Have you uploaded the default.pass file?
.../dbman/db.cgi?db=default&uid=default
Have you uploaded the auth.pl file and the /auth folder (with the index.html inside) and set permissions for those files? Have you uploaded the default.pass file?
.../dbman/db.cgi?db=default&uid=default
Jun 23, 2001, 7:22 PM
Enthusiast / Moderator (885 posts)
Jun 23, 2001, 7:22 PM
Post #7 of 10
Views: 4866
Ken in default.cfg, try changing your default user settings from:
# 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,1);
To:
# 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,0,0,0,0);
and see if that corrects the login problem.
# 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,1);
To:
# 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,0,0,0,0);
and see if that corrects the login problem.
Jun 24, 2001, 12:55 PM
New User (4 posts)
Jun 24, 2001, 12:55 PM
Post #8 of 10
Views: 4815
That did it! I had set @auth_default_permissions = (1,1,1,1,1) in the default.cfg file and removed all data from the default.pass file because of JPDeni's instructions. I changed to @auth_default_permissions = (1,0,0,0,0) and returned the default data to the default.pass file per your suggestion and it worked!
Computers are strange and wondrous beasts................
Thank you Karen, thank you, thank you, thank you. Hopefully, sometime I can be of help to you. You can reach me through the websites given before....
Ken
Computers are strange and wondrous beasts................
Thank you Karen, thank you, thank you, thank you. Hopefully, sometime I can be of help to you. You can reach me through the websites given before....
Ken
Jun 27, 2001, 1:21 PM
Novice (36 posts)
Jun 27, 2001, 1:21 PM
Post #9 of 10
Views: 4802
Having the same problem here :(
I've tried the suggestions you posted in this thread, but with no luck.
I have a successful DBMAN running on NT - and now that I have access to Unix, I'm attempting to MOVE my dbman to that server instead, but ...
On NT, once the user authenticated to the server, that information was passed to dbman and the login screen was bypassed. Now, even after authenticating to the server, the dbman login screen appears - which I can live with ... BUT, once I login and get to my "home" screen - ANY option I attempt pushes me right back to the login screen again. I have deleted the .pass file and allowed signup to recreate my userid - this works fine - writes to the .pass file, and recognizes me on login (displays all options including admin), writes my userid.timestamp information in the 'auth' folder, too. Apparently it's not carrying the information forward to the be processed ? After logging in, the URL that appears in the status bar (on hover) only displays http://my.server.com/path/dbman/db.cgi?db=default&uid=&whatever_else_here -- it seems to drop the UID information.
Any suggestions??
Thanks in advance!
keienb
I've tried the suggestions you posted in this thread, but with no luck.
I have a successful DBMAN running on NT - and now that I have access to Unix, I'm attempting to MOVE my dbman to that server instead, but ...
On NT, once the user authenticated to the server, that information was passed to dbman and the login screen was bypassed. Now, even after authenticating to the server, the dbman login screen appears - which I can live with ... BUT, once I login and get to my "home" screen - ANY option I attempt pushes me right back to the login screen again. I have deleted the .pass file and allowed signup to recreate my userid - this works fine - writes to the .pass file, and recognizes me on login (displays all options including admin), writes my userid.timestamp information in the 'auth' folder, too. Apparently it's not carrying the information forward to the be processed ? After logging in, the URL that appears in the status bar (on hover) only displays http://my.server.com/path/dbman/db.cgi?db=default&uid=&whatever_else_here -- it seems to drop the UID information.
Any suggestions??
Thanks in advance!
keienb
Jun 27, 2001, 3:45 PM
Enthusiast / Moderator (885 posts)
Jun 27, 2001, 3:45 PM
Post #10 of 10
Views: 4798
It is rather tough to troubleshoot a problem without taking a look at the files I'll give it a shot but, if that doesn't work you'll need to save your html.pl & default.cfg files as text files and make them viewable via the web if these suggestions don't work.
http://my.server.com/path/dbman/db.cgi?db=default&uid=default
Try adding default as the uid and see if you can gain access to your files. (Make sure you have default user access available.)
# (1 = "yes", 0 = "no")
$auth_allow_default = 1;
Do you recall changes you made to the files to allow the server login to write to the logfile and 'auth' directory? Modifications had to have been made to the scripts to accommplish this task, if the mods were documented, you may be able to undo the steps. If not, you may need to download and compare to an unmodified version.
http://my.server.com/path/dbman/db.cgi?db=default&uid=default
Try adding default as the uid and see if you can gain access to your files. (Make sure you have default user access available.)
# (1 = "yes", 0 = "no")
$auth_allow_default = 1;
Do you recall changes you made to the files to allow the server login to write to the logfile and 'auth' directory? Modifications had to have been made to the scripts to accommplish this task, if the mods were documented, you may be able to undo the steps. If not, you may need to download and compare to an unmodified version.