Gossamer Forum
Home : Products : DBMan : Installation :

About my Line 51 Error

Quote Reply
About my Line 51 Error
I'm getting a similiar line 51 error to FrankP, but I have not edited my $db_script_path. I have been trying to get dbman to work on my NT server for about a week, and have finally reached the end of my rope.

If I try to access the the db.cgi file, I get an http 500 error. In desperation, I renamed db.cgi to db.pl, and now I get the line 51 error, (looking for the html.pl file) as you can see by going to http://libcentral.uah.edu/dbman/db.pl

I've done everything I know to make this work. Any suggestions would be greatly appreciated.

David P. Moore
University of Alabama in Huntsville
mooredp@email.uah.edu


Quote Reply
Re: About my Line 51 Error In reply to
Your error message says

In Reply To:
Reason: Can't locate ./html.pl at C:/Perl/lib/default.cfg line 51.
Compilation failed in require at C:\InetPub\wwwroot\dbman\db.pl line 51.
Your db.pl file, default.cfg file, html.pl file and all other dbman files need to be in the same directory.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: About my Line 51 Error In reply to
Thanks for your reply. I originally had the files in one directory, but the db.pl file looked for the default.cfg in the Perl/lib directory, so I copied all files over there, then I finally get the error I posted, the one where its looking for the html.pl file, and I have now run out of ways to tell it where to find that file.

So, let me ask you this: does dbman run on Windows NT, or am I chasing the wind? I would put it on UNIX, but currently do not have a unix server to access.

Thanks, David.

Quote Reply
Re: About my Line 51 Error In reply to
I do know that others have had success with DBMan on Windows NT. I haven't tried it myself, since I don't have Windows NT to work with. But it works just fine on Windows.

It may be that Windows NT is the one platform where you need to set the $db_script_path.

Try putting all of the DBMan files into the one directory and setting

$db_script_path = "C:/InetPub/wwwroot/dbman";

Notice that I'm using / instead of \ in the path. This is necessary for Perl.

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