Gossamer Forum
Home : Products : DBMan : Installation :

Windows NT Paths

Quote Reply
Windows NT Paths
I finally got the program to run by reverting to your default.cfg, and changing all of the .pl files to .cgi files, and then making the require auth.pl to auth.cgi change in the db.cgi file.

I am stranded at the login. I assume it has something to do with incorrect paths to the cfg, password, and auth files.

Here is the debug info. Any tips on setting paths?

Remember I am running on a Windows machine.

DBMan encountered an internal error.

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : c:\hosting\webhost4life\member\amaprostar\prostar\store\db.cgi
Perl Version : 5.00503
Setup File : default.cfg

Form Variables
-------------------------------------------
db : default
login : Logon
pw : zs047RckAhJH6
uid :
userid : author

Environment Variables
-------------------------------------------
ALLUSERSPROFILE : C:\Documents and Settings\All Users
COMMONPROGRAMFILES : C:\Program Files\Common Files
COMPUTERNAME : DEDI200
COMSPEC : C:\WINNT\system32\cmd.exe
CONTENT_LENGTH : 58
MXBIN : C:\Program Files\FireDaemon v0.09c
MXHOME : C:\Program Files\FireDaemon v0.09c
NUMBER_OF_PROCESSORS: 1
OS : Windows_NT
OS2LIBPATH : C:\WINNT\system32\os2\dll;
PATH : C:\Perl\bin;c:\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Symantec\pcAnywhere\
PATHEXT : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_IDENTIFIER: x86 Family 6 Model 6 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL : 6
PROCESSOR_REVISION : 0602
PROGRAMFILES : C:\Program Files
REQUEST_METHOD : POST
SYSTEMDRIVE : C:
SYSTEMROOT : C:\WINNT
TEMP : C:\WINNT\TEMP
TMP : C:\WINNT\TEMP
USERPROFILE : C:\Documents and Settings\Default User
WINDIR : C:\WINNT
Quote Reply
Re: [cara] Windows NT Paths In reply to
Are you saying it works as a guest that views the database, but you cannot log-on?

If so, I would say that dbman is not able to write to the auth folder.
Quote Reply
Re: [joematt] Windows NT Paths In reply to
No. If Debug is off, I get the message to turn it on. That's it.

When I turn Debug on, I get a screen with the login at the top, and the error message you see above.

How does it need to see the paths in a Windows config.

c:\blahblah\foofoo\widgets\bin\db ?

Or can it just see the fies with a path:

/default.cfg

?

I'm fried. Thanks for anything you can offer.

The Debug really gives no clear advice or place to find the error.
Quote Reply
Re: [cara] Windows NT Paths In reply to
after some tr8ies, i was able to login as guest/guest or author/author but no admin/admin
Quote Reply
Re: [cara] Windows NT Paths In reply to
If the program is on the same drive as the web server software, Perl etc. you can omit the drive name from the paths if you wish.

In any case, it is safer to use forward slashes (/) in them rather than back slashes (\) as the latter can easily be mistaken for escape sequences by Perl (NT itself will accept either as a directory separator).

For example "\n" is a treated as a newline character by Perl.

It's a little hard to advise you what values to use for the paths as it depends on the directory structure you used, and what the path to your root directory is.

It sounds as if you have most of it right though.
Quote Reply
Re: [cara] Windows NT Paths In reply to
Here is a link to a link to a link.

I used this link(s) when I did my NT/2000 install.

http://www.gossamer-threads.com/...i?post=176549#176549

BTW, I searched this forum for "windows server" to find this link.

Thanks again LoisC
edit, and AstroBoy

Last edited by:

joematt: Apr 15, 2003, 6:26 AM