Gossamer Forum
Home : Products : DBMan : Installation :

HELP!!!!!

Quote Reply
HELP!!!!!
i had this script running great on my old NT server under perl 5.00307, but when my isp upgraded, i am now getting error messages. i can't for the life of me figure out what is wrong, and the guy there couldn't help me out at all either. i'm assuming it is a pathway problem of some sort due to the error message, but i can't figure it out. here's the error i'm getting...


CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate boats.cfg in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib .) at D:\users\pettys\cgi-bin\dbman\db.cgi line 51.

Script Location : D:\users\pettys\cgi-bin\dbman\db.cgi
Perl Version : 5.00503
Setup File : boats.cfg

Form Variables
-------------------------------------------
db : boats

Environment Variables
-------------------------------------------
COMPUTERNAME : LAVENDAR
COMSPEC : C:\WINNT\system32\cmd.exe
CONTENT_LENGTH : 0
GATEWAY_INTERFACE : CGI/1.1
HTTPS : off
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.pettys.com
HTTP_USER_AGENT : Mozilla/4.6 [en] (Win98; I)
INCLUDE : C:\Program Files\Mts\Include
INSTANCE_ID : 217
LIB : C:\Program Files\Mts\Lib
LOCAL_ADDR : 216.4.57.191
NUMBER_OF_PROCESSORS: 2
OS : Windows_NT
OS2LIBPATH : C:\WINNT\system32\os2\dll;
PATH : C:\Perl\bin;C:\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\Program Files\Mts
PATHEXT : .COM;.EXE;.BAT;.CMD;.VBS;.JS
PATH_INFO : /cgi-bin/dbman/db.cgi
PATH_TRANSLATED : D:\users\pettys\cgi-bin\dbman\db.cgi
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_IDENTIFIER: x86 Family 6 Model 5 Stepping 2, GenuineIntel
PROCESSOR_LEVEL : 6
PROCESSOR_REVISION : 0502
QUERY_STRING : db=boats
REMOTE_ADDR : 208.168.153.245
REMOTE_HOST : 208.168.153.245
REQUEST_METHOD : GET
SCRIPT_NAME : /cgi-bin/dbman/db.cgi
SERVER_NAME : www.pettys.com
SERVER_PORT : 80
SERVER_PORT_SECURE : 0
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Microsoft-IIS/4.0
SYSTEMDRIVE : C:
SYSTEMROOT : C:\WINNT
USERPROFILE : C:\WINNT\Profiles\Default User
WINDIR : C:\WINNT


if you could give me any ideas at all i would greatly appreciate it! thanx in advance...
chuck
Quote Reply
Re: HELP!!!!! In reply to
Hello cvsiv:

My best guess is that you need to hardcode the path:
$db_script_path =

It was probably set to "." before and it worked but after they upgraded it does not work anymore. Hard code the path and I think it should work. If not give me telnet access and I will take a look at it.




------------------
-------------------- Gossamer Threads Inc. ----------------------
Sun Djaja Email: sun@gossamer-threads.com
Internet Consultant
http://www.gossamer-threads.com