Gossamer Forum
Home : Products : DBMan : Installation :

get_date error

Quote Reply
get_date error
Undefined subroutine &main::get_date called at default.cfg line 58.
This is the error I am getting on my UNIX server.

Is there a fix that would define this subroutine?
Thanks,
Uta
Quote Reply
Re: get_date error In reply to
I wanted to also add this madding little error.
My UNIX server does not want to look anywhere but in its own libraries for perl scripts.
I have defined the path for it within the db.cgi as follows:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "/usr/local/etc/httpd/sites/utazdesign.com/cgi-bin/baktrio";
The "default.cfg" is defined like this:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.utazdesign.com/cgi-bin/baktrio";
# 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";
Why then, when I telnet to the site (via browser I get NO debugging only a nasty 500 error, yes debugging is selected within the default.cfg file) do I get this error:
Can't locate /html.pl in @INC (@INC contains: /usr/local/lib/perl5/sun4-solaris/
5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/lo
cal/lib/perl5/site_perl .) at default.cfg line 51.
I find this odd.
It was so easy to set up on my local Mac server and now when I transfer it to a server it was actually designed to run on it flakes out!
;-)
Any helpful input would be appreciated.
Thanks,
Uta