Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

nph-build.cgi error (CRON)

Quote Reply
nph-build.cgi error (CRON)
I'm getting this error message when attempting to run nph-build.cgi via cron. I've verified all paths and settings and still can't seem to figure out exactly what's going on. Any help is much appericated..

[Fri Sep 1 01:00:02 2000] nph-build.cgi: [Fri Sep 1 01:00:02 2000] Links.pm:
Can't locate Links.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005 .) at
/home/Mottster/www/cgi-bin/admin/nph-build.cgi line 30.
[Fri Sep 1 01:00:02 2000] nph-build.cgi: BEGIN failed--compilation aborted at
/home/Mottster/www/cgi-bin/admin/nph-build.cgi line 30.

Thanks,

Sean

Quote Reply
Re: nph-build.cgi error (CRON) In reply to
1) Try using the following codes for the lib directory:

Code:

use lib '/absolute/path/to/admin';


2) Then make sure that you have the following codes in the module definition area:

Code:

use Links::Links;
use Links::DBSQL;
use Links::DB_Utils;
use Links::HTML_Templates;


Regards,

Eliot Lee