Wolfgang Pichler wrote:
1)
zebra_db to be honoured when adding books
logs show up :
[Sat Oct 09 15:36:37 2004] [error] [client 62.46.64.189] 15:36:37-09/10:
[log][app2] zebra_start /home/idzebra/emilda/zebra.cfg, referer:
https://grass.ivv.tuwien.ac.at/emilda/book_add
[Sat Oct 09 15:36:37 2004] [error] [client 62.46.64.189] 15:36:37-09/10:
[log] Database(s) selected: Default, referer:
https://grass.ivv.tuwien.ac.at/emilda/book_add.php?id=1860095909&
BEFORE and STILL AFTER MODIFYING
my $zebra = IDZebra::Session->open(
configFile => $config{'zebra_path'}.$config{'zebra_config'},
shadow => 1,
groupName => 'emilda',
databaseName => $config{'zebra_db'}, ## line in question
) or die "Could not initialize Zebra session: $!";
RESUMEE :
spurious messages, but things seem to work right :-)
since database is implicitly selected in zebra.cfg via 'emilda.atabase:
emilda' there is no need to specify database name, but this funny
log-message might cause doubts :-)
I would say, don't fix if it ain't broken ;-)
One could ask on the Zebra list if there is some bug in the logging that
it reports the wrong database, since all records are added into the
correct database and it just informs You wrong.
---
2)
Undefined variable: rpn in /home/httpd/emilda/lib/search.inc on line
232, referer: https://grass.ivv.tuwien.ac.at/emilda/book_add.php
Undefined variable: rpn in /home/httpd/emilda/lib/search.inc on line
244, referer: https://grass.ivv.tuwien.ac.at/emilda/book_add.php
AND
when doing any search (e.g. mandatory before book_add) i get error
YAZ error: 10010 (Invalid query) (Host: localhost:3000/emilda) (Query: )
to be able to add books i had to tweak code in book_add to ignore errors -
i know this is a design-feature, and there has been discussion about
this, but maybe someone else feels unhappy about the design of the "add
book" procedure ?
I just today realized that the "Manual Add" was hidden behind the search
procedure. We discussed this with Erik briefly and decided that we would
bring back an initial option of adding manually before doing any searching.
The errors You get are presumably related to the fact that You are
searching with "no" criteria, i.e. just hitting Enter. Emilda does not
support this method.
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
--
Christoffer Landtman
Oy Realnode Ab
Partner, Sales
+358 (0)41 510 1073
landtman@xxxxxxxxxxx
www.realnode.fi
|