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

Verify problem

Quote Reply
Verify problem
I am getting a problem when I try to verify the links. I get this message below. Any suggestions?

Code:
Error Loading System Libraries. Reason: Can't locate /cgi-bin/links/ad/links.cfg in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at /home/actschri/public_html/cgi-bin/links/ad/nph-verify.cgi line 33.
Quote Reply
Re: Verify problem In reply to
Check your links.cfg paths settings. It looks to me like you are using relative paths and they should be full paths.
Quote Reply
Re: Verify problem In reply to
I tried that but I still get the same message
Quote Reply
Re: Verify problem In reply to
Try changing the require line for links.cfg in nph-verify.cgi to:

require "./links.cfg";

I had to do that on one of my scripts before it would work.
Quote Reply
Re: Verify problem In reply to
When I do that it times out and the page never will load. I don't think its my server because it wouldn't work on my last server either.
Quote Reply
Re: Verify problem In reply to
Many times, nph-verify will not run from the web (I can't run mine from the web either). Do you have shell (telnet) access to your account? If so, try running it from there.
Quote Reply
Re: Verify problem In reply to
There is no statement in nph-verify.cgi to immediately flush the output. Therefore, the web server needs to wait until the whole output has been created. This can cause a time out.

Replace

sub verify_links {
# -----------------------------------------------------

by

sub verify_links {
# -----------------------------------------------------
$| = 1;

Best regards,

Rainer