Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

nph-verify.cgi question

Quote Reply
nph-verify.cgi question
When I run a Verify Links/Quick Check, I get the following:

CGI ERROR
==========================================
Error Message : error in verify_links. unable to open db file: ./data/links.db. Reason: No such file or directory

Does this indicate that the path is incorrect, or permissions on the file/directory.

Thanks-

Christopher Adams


Quote Reply
Re: nph-verify.cgi question In reply to
It means that the path is incorrect, thus, the file cannot be found. Wink

You need to edit the $db_script_path in your links.cfg file that should be the absolute path where your data/admin/hits/ etc. directories are located, including the drive letter since you are using a Windows server, like the following:

Code:

$db_script_path = "C:/something/absolute/to/account/cgi-bin/links";


Regards,

Eliot Lee

Quote Reply
Re: nph-verify.cgi question In reply to
Thanks. I added c:/ to the beginning of the paths and still get the error. The path to the scripts is:
c:/inetpub/scripts/links, c:/inetpub/scripts/links/admin, and c:/inetpub/scripts/links/admin/data.

Here is what I have in links.cfg:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "c:/inetpub/scripts/links/admin";
$db_dir_url = "http://myserver.com/scripts/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://myserver.com/scripts";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "c:/inetpub/wwwroot/subjects";
$build_root_url = "http://myserver.com/subjects";