Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Win 2000 Install

Quote Reply
Win 2000 Install
Hello

Read through assortment of threads - maybe missed it, is there one single page that outlines the Windows 2000 setup? Want this running for a local intranet.

Using
Windows 2000/Server IIS4.0/Perl5.6/My SQL 3.23.28-gamma

Error Received on execution of nph-setup.cgi

CHECKING Setup:
loading your c:\inetpub\wwwroot\cgi-bin\dbmansql\db.cfg file ... Failed: Can't locate html.pl in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at c:\inetpub\wwwroot\cgi-bin\dbmansql\db.cfg line 47.
Compilation failed in require at c:\inetpub\wwwroot\cgi-bin\dbmansql\nph-setup.cgi line 72.

Pathes / Set up Files As Follows

I use #!c:\perl\bin\perl in leiu of unix shebang path (may only be applicable to Apache - so should not be relevant here)

->db.cgi
#$db_script_path = "."; ORIGINAL
$db_script_path = "c:\inetpub\wwwroot\cgi-bin\dbmansql";

->nph-setup.cgi
# Look for db.cfg file.
eval {
$in{'config'} ?
#($config = $in{'config'}) : ORIGINAL
#($config = 'db.cfg'); ORIGINAL

($config = $in{'config'}) :
($config = 'c:\inetpub\wwwroot\cgi-bin\dbmansql\db.cfg');

->db.cfg


# $db_script_url = "http://penguin/alex/dbman-sql/db.cgi"; ORIGINAL LINE

$db_script_url = "http://mrburns/cgi-bin/dbmansql/db.cgi";

# Path and file name of the html routines.

# require "./html.pl"; ORIGINAL
require "html.pl";
----------------------------

Really appreciate advise on correct set up

Many thanks
John


Quote Reply
Re: Win 2000 Install In reply to
In Reply To:
is there one single page that outlines the Windows 2000 setup?
Nope...but there are plenty of Threads in the DBMAN Installation forum that provide solutions to common installation problems.

The following codes:

Code:

$db_script_path = "c:\inetpub\wwwroot\cgi-bin\dbmansql";


should be the following:

Code:

$db_script_path = "C:/InetPub/wwwroot/cgi-bin/dbmansql";


Remember that Perl is case sensitive...this ain't Cold Fusion...So, your drive letters must be capitals or lower case depending on your drive configurations. In addiiton, folder names are also case sensitive. If you are using a default install of Front Page 2000, then the folder is InetPub NOT inetpub.

Again, these codes:

Code:

$config = 'c:\inetpub\wwwroot\cgi-bin\dbmansql\db.cfg'


need to be:

Code:

$config = 'C:/InetPub/wwwroot/cgi-bin/dbmansql/db.cfg'


The following codes:

Code:

require "html.pl";


SHOULD be the following:

Code:

require "$db_script_path/html.pl";


OR

Code:

require "C:/InetPub/wwwroot/cgi-bin/dbmansql/html.pl";


Good luck!

Regards,

Eliot Lee