ok, i don't even think virtual ave has these modules LWP::UserAgent; HTTP::Request; HTTP::Headers;
at least not the last two, so i think thats what the problem is. Put this at the top of add.cgi under the /usr/bin perl command without a # in front of it use CGI::Carp qw/fatalsToBrowser/; so the first two lines should look like this #!/usr/local/bin/perl use CGI::Carp qw/fatalsToBrowser/; then tell me what the error says
Software error: [Thu Mar 23 15:45:49 2000] UserAgent.pm: Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/libdata/perl/5.00502/mach /usr/libdata/perl/5.00502 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at add.cgi line 104. BEGIN failed--compilation aborted at add.cgi line 104. For help, please send mail to the webmaster (webmaster@virtualave.net), giving this error message and the time and date of the error. ;
what is LWP exactly? can i install it? is this possible with virtualave?
i also want to use the altavista.cgi (i think it needs LWP, too) if the search in my database returns no results. the links from altavista should look like link.htm.
i found a lot of topics in the forum, but not exactly what i want to know. it would be nice if someone could explain in short words what i must edit in the search.cgi. (only searching altavista if there are no matching records in my database and displaying the result like (NOT WITH) link.htm).