Gossamer Forum
Home : Products : Links 2.0 : Customization :

nph-verify problem

Quote Reply
nph-verify problem
Running nph-verify.cgi with a cronjob (verify_links.sh) I get this:

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

I do have a directory data (777) inside I do have links.db (666) all my .db files in this directory are chmoded 666.

Where can the problem come from? this is called in the nph-verify.cgi at:

sub verify_links {
# -----------------------------------------------------
$db_file_name = './data/links.db';


nph-verify works fine if I ran the job via Telnet manually, it just doesn't work automatically every sunday as stated in my cronfile.


Help!

Thanks



Quote Reply
Re: nph-verify problem In reply to
This should be posted in the Links 2.0 Installation X forum...(this is not really a customization question you are asking)...

Anyway...you need to include the COMPLETE ABSOLUTE path in the variable config you referenced.

Use:

Code:

$db_file_name = '/absolute/path/to/data/links.db';


Change /absolute/path/to to the EXACT ABSOLUTE path there your DATA directory/folder is located.


Regards,

Eliot Lee
Quote Reply
Re: nph-verify problem In reply to
Thanks Eliot, one more time you save me!

Sorry for not posting in the right place.

Thanks again.


Quote Reply
Re: nph-verify problem In reply to
You're welcome.

Regards,

Eliot Lee