Gossamer Forum
Home : Products : DBMan : Installation :

Doesn't find the html.pl file

Quote Reply
Doesn't find the html.pl file
All my files are in my cgi-bin directory. Everything's been uploaded and I've double-checked the permissions and they're correct. The html.pl file is definitely there, too.

But when I try to execute the script I get the message:

Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate http://server.allfour.com/cgi-bin/html.pl in @INC (@INC contains: http://server.allfour.com/cgi-bin /usr/lib/perl5/mips-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/mips-linux /usr/lib/perl5/site_perl .) at default.cfg line 54.

Do I need to check with my server people or is this something that's fixable by me?

Thanks.

Quote Reply
Re: [smithT] Doesn't find the html.pl file In reply to
You _only_ need to edit the first variable in db.cfg - the url. You shouldn't alter anything else.
Quote Reply
I didn't edit anything else In reply to
Here's the code from my cfg file.

# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://server.allfour.com/cgi-bin";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";

As you can see, I took your advice yesterday and just left the file names without the path name.

Quote Reply
Okay, I think I got it now In reply to
I looked at the other posts concerning html.l file not found and figured out how to specify the path name in the db.cgi file. I FINALLY got a logon screen to show up.

Now it's on to the next problemSmile