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

Error in Search.cgi script

Quote Reply
Error in Search.cgi script
When i would like to open the search.cgi the browser will always download the file such as open it......
and when i open it i got always the error:

Error including libraries: Can't locate /data1/hypermart.net/bg000332/cgi-bin/admin/links.cfg in @INC (@INC contains: /data1/hypermart.net/bg000332/links/cgi-bin /usr/local/lib/perl5/i386-bsdos/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /data1/hypermart.net/bg000332/links/cgi-bin/search.cgi line 36.

Make sure they exist, permissions are set properly, and paths are set correctly.</noscript>
<!-- -->
</noscript>
<SCRIPT LANGUAGE="JavaScript">

<!--
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) &#0124; &#0124; ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 )));
if (browser) {
if (self.height) {
if (parseInt(self.height) < 167) {
var height = '167';
}
} else {
var height = '167';
}
if (!self.url) {
self.url = '';
}
if (parent.name != 'test') {
test = window.open("http://click.go2net.com/magic/adpopup?site=HM&shape=banner&border=1&area=users.Entertainment.Books_and_Literature", "test", "resizable=yes,width=520,height=" + self.height);
// setTimeout("test.opener = self;", 3000);
// test.opener = self;
}
}
//-->

</SCRIPT>


thanks for help
Quote Reply
Re: Error in Search.cgi script In reply to
Try reuploading search.cgi, making sure the upload mode is ASCII. It sounds to me as if it was uploaded in binary.