Gossamer Forum
Quote Reply
Path Problem
Hi

I am getting this error on the cgi
Error including libraries: Can't locate e:/jds/london/cgi-bin/admin/db_utils.pl at f:\jds\london\cgi-bin\jump.cgi line 35.

Make sure they exist, permissions are set properly, and paths are set correctly.

I don't understand why its looking at f: instaed of e:
Thanks in advance

Quote Reply
Re: Path Problem In reply to
You need to use the following codes for the require line in the jump.cgi file:

Code:

require "e:/jds/london/cgi-bin/admin/links.cfg";


The reason that the db.pl cannot be found is that the $db_lib_path is defined in the links.cfg file and the script cannot find the links.cfg file, thus, it cannot find the db.pl file.

Regards,

Eliot Lee

Quote Reply
Re: Path Problem In reply to
I have changed all the require lines to
e:/jds/london/cgi-bin/admin/links.cfg

On admin.cgi still getting error

Error including libraries: Can't locate e:/jds/london/cgi-bin/admin/links.cfg at f:\jds\london\cgi-bin\admin\admin.cgi line 27.

Sorry to ask again but am stumped.

Quote Reply
Re: Path Problem In reply to
Double check your $db_script_path variable in the links.cfg...

You should have:

Code:

$db_script_path = "e:/jds/london/cgi-bin/admin";


Regards,

Eliot Lee

Quote Reply
Re: Path Problem In reply to
When I was ftp the drive letter showing was e:, I changed the drive letter to f: in links.cfg. It Worked!!
I'm on an NT server, they must of mapped it to drive f:.

Thanks for your help.
Dregs

Quote Reply
Re: Path Problem In reply to
Yes...you have to use the PHYSICAL ABSOLUTE path where your files are located, NOT the virtual path or mapped path.

Regards,

Eliot Lee