Gossamer Forum
Home : Products : DBMan : Installation :

Line 51 error

Quote Reply
Line 51 error
After trying all day, I can't get past this error:

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate http://www.centralvapca.com/cgi-bin/dbman/html.pl in @INC (@INC contains: http://www.centralvapca.com/cgi-bin/dbman /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at default.cfg line 51.

The only thing I an now see is that line 51 reads: (50 and 51 follow)

# Full path and file name of the html routines.
require $db_script_path . "/html.pl";

I figure that reguire should be $auth_something_file... but am not sure what.

The only time I got an error outside of line 51 is when I up;oaded default.cfg again and must have not been in ascii. Reloaded and back to line 51 error.

My default.cfg is at http://www.centralvapca.com/temp/default.txt and db.cgi is at http://www.centralvapca.com/temp/db.txt for viewing.

Thanks,
Frank

Quote Reply
Re: Line 51 error In reply to
Your problem is in db.cgi

Code:

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.centralvapca.com/cgi-bin/dbman";
The above must be a path not a URL. It should look something like
/home/username/cgi-bin/dbman/. Under no circumstances should it start with "http://"!

However, you shouldn't have to set it at all. Change it back to

Code:

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = ".";
If you still have problems, we'll work on everything else before we try to set that variable. Very few people have to.



JPD
http://www.jpdeni.com/dbman/