Hi.
Thats what i get when i run the script "nph-build.cgi" from cron:
-------
shell-init: could not get current directory:
[Fri Jan 14 09:31:21 2000] nph-build.cgi: Can't locate Links.pm 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 /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
[Fri Jan 14 09:31:21 2000] nph-build.cgi: BEGIN failed--compilation aborted at /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
Content-type: text/html
<H1>Software error:</H1>
<CODE>Can't locate Links.pm 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 /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
BEGIN failed--compilation aborted at /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
</CODE>
<P>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
-------
I also tried to add following to the beginning of the script but with no success:
>> chdir("/www/netseek/cgi-bin/admin"); <<
can anyone help me out here?
thanks
matevz
Thats what i get when i run the script "nph-build.cgi" from cron:
-------
shell-init: could not get current directory:
[Fri Jan 14 09:31:21 2000] nph-build.cgi: Can't locate Links.pm 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 /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
[Fri Jan 14 09:31:21 2000] nph-build.cgi: BEGIN failed--compilation aborted at /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
Content-type: text/html
<H1>Software error:</H1>
<CODE>Can't locate Links.pm 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 /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
BEGIN failed--compilation aborted at /www/netseek/cgi-bin/admin/nph-build.cgi line 34.
</CODE>
<P>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
-------
I also tried to add following to the beginning of the script but with no success:
>> chdir("/www/netseek/cgi-bin/admin"); <<
can anyone help me out here?
thanks
matevz