I have two db directories, each "filled" by a separate
"walk": db and db-njcate.
I modified the search script (search-njcate) by changing
the value of DB as follows:
<DB = /usr/local/etc/httpd/htdocs/webinator/db-njcate>
and the defaultdb as follows:
<!-------------------------------------------------------------------------
Set the database name
-------------------------------------------------------------------------->
<A NAME=setdb>
<$defaultdb = /usr/local/etc/httpd/htdocs/webinator/>
<IF $db eq "">
<$db = "db-njcate"> <!-- default database -->
</IF>
<sum "%s" $defaultdb $db>
<!-- Security check: disallow /.. in paths; keep users in webinator/: -->
<sandr "[/\\]=\.{2}" "" $ret>
<$dbdir = $ret>
<DB = $dbdir>
<IF $db eq "db">
<$db = >
</IF>
</A>
Nothing else is changed.
The link to the search is:
http://www.mccc.edu/cgi-bin/texis/webin ... rch-njcate
When I click on that, I get the following:
Texis Web Script (Vortex) Copyright © 1996-1998 Thunderstone - EPI, Inc.
Free Webinator Version 2.5.908330451 of Oct 13, 1998
Error
000 /webinator/search-njcate:129: Could not open SYSCOLUMNS in the function ddopen
000 /webinator/search-njcate:129: Could not connect to /usr/local/etc/httpd/htdocs/webinator/db-njcate in the
function openntexis
What have I done wrong? (This script used to work.)
Thanks,
Pete