Gossamer Forum
Home : Products : DBMan : Installation :

Tripod problem

Quote Reply
Tripod problem
I've installed dbman on my Tripod account, but when I go to db.cgi, I don't get the login screen. The only thing that I get is the Main Menu, but the only choices are Home and Log Off. When I try to log off, I get a Tripod error that says that the script did not return proper headers.

Any ideas as to what I'm doing wrong?

Quote Reply
Re: Tripod problem In reply to
Most likely you have not set the user permissions properly in the default.cfg file.

You should have at least the following configs to get the login screen:

Code:

$auth_no_authentication = 0;
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_signup = 1;
@auth_signup_permissions = (0,1,1,1,0);
$auth_modify_own = 1,0,0,0;


Regards,

Eliot


Quote Reply
Re: Tripod problem In reply to
That did not help, but I re-downloaded and re-installed dbman and I remembered that I had modified something else.

When I first ran the program I got an error on line 1071 of db.cgi. It's the line that says "use Time::Local". I commented out the code for the date_to_unix subroutine, leaving the subroutine in, but with now code, and the script runs, but I get the problem that I posted.


Quote Reply
Re: Tripod problem In reply to
That is your problem...the auth_logging codes in the auth.pl use the get_date subroutine to print the time and date that the user logged in.

Two suggestions:

1) Ask Tripod to download and install the most current version of Perl with all the modules.

OR

2) Download the Time module, which includes Local.pm from http://www.cpan.org and install it in your cgi-bin directory. Then change all occurrences of:

Code:

use Time::Local


with the following codes:

Code:

use "/absolute/path/to/youraccount/cgi-bin/Local.pm";


And after doing either 1 or 2, you should unrem the date routines, since they are needed for many processes within DBMAN.

Regards,

Eliot Lee