This is an old bug.<div>Not as a fix, but to do that authorities search work do the following:</div><div><br></div><div>Edit AuthoritiesMarc.pm (usually at /usr/share/koha/lib/C4/AuthoritiesMarc.pm), search for "Heading-Main" (on koha 3.0.3 is on line 223) and replace with "Heading", same value as 2 lines below ( it looks like '$attr =" \@attr 1=Heading ";'), and voilą! authorities search work.</div>
<div><br></div><div>works for me.</div><div>bgk</div><div><br></div><div>PS: This a "solution" that I find googling around. Perhaps there is no many people that use authorities with koha, or we are doing things very bad, or I don't know how to work out a proper solution.</div>
<div><br></div><div><br><div class="gmail_quote">2009/11/1 Susan Mustafa <span dir="ltr"><<a href="mailto:susan.mustafa@gmail.com">susan.mustafa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote">
<br><div dir="ltr">Hi everyone,<br><br>I hope I can get a reply soon as it seems this is a very urgent issue and stopping me from going live.<br><br>Please note the following problem:<br><br>Simple Explanation: I create a new "Personal Name" authority framework, add only enter "Susan M" in Tab 1, Tag @a --Save<br>
<br>Do rebuild_zebra -a -r <-- For rebuilding Authority Indexes. It says exported 4 records, which is correct. I created 4 Authority Records in Koha.<br><br>Search Authority in Koha - Drop down [Personal Name]-Contains- Susan <-- Returns Nothing.<br>
<br><br>-----------------------<br>Biblios works perfectly fine. Only Authorities do not show in Koha. I really did do my best, but I can't seem to solve it on my own. So any help is greatly appreciated.<br><br><br>
Tail - Copy/Paste of koha-err.log<br>[Sun Nov 01 16:22:41 2009] [error] [client 172.21.255.32] [Sun Nov 1 16:22:41 2009] <a href="http://authorities-home.pl" target="_blank">authorities-home.pl</a>: oAuth error: Database unavailable (109) authorities Bib-1, referer: <a href="http://172.21.236.24:8080/cgi-bin/koha/authorities/detail.pl?authid=4" target="_blank">http://172.21.236.24:8080/cgi-bin/koha/authorities/detail.pl?authid=4</a><br>
mistuser@MIST-Koha-Dev-V2:/$ <br><br>From zebraquedaemon<br><br><span><font color="#008000"><</font><font style="background:rgb(255, 255, 255) none repeat scroll 0% 0%" color="#000000">Susan-Dev</font><font color="#008000">></font><font style="background:rgb(255, 255, 255) none repeat scroll 0% 0%" color="#000000">
13:53:59-15/11 zebrasrv(107) [request] Search authorities ERROR 109 1
1+0 RPN @attrset Bib-1 @or @attr "1=Heading" @attr 7=1 0 @attr 4=6
@attr 5=1 @attr "1=Heading" susan 13:54:00-15/11 zebrasrv(107)
[session] Connection closed by client 14:04:21-15/11 zebrasrv(108)
[session] Session - OK 108 unix:/var/run/koha/zebradb/authoritysocket
369 14:04:21-15/11 zebrasrv(108) [log] User perm for perm.koha: rw
14:04:21-15/11 zebrasrv(108) [request] Auth idPass koha -
14:04:21-15/11 zebrasrv(108) [request] Init OK - ID:81/81
Name:ZOOM-C/YAZ Version:1.116/2.1.54 14:04:21-15/11 zebrasrv(108)
[warn] zebra_lock_create fail
fname=/var/lock/koha/zebradb/authorities/norm..LCK [Permission denied]
14:04:21-15/11 zebrasrv(108) [warn] zebra_lock_create fail
fname=/var/lock/koha/zebradb/authorities/shadow..LCK [Permission
denied] 14:04:21-15/11 zebrasrv(108) [request] Search authorities ERROR
109 1 1+0 RPN @attrset Bib-1 @or @attr 2=103 @attr "1=_ALLRECORDS" ''
@attr "1=Heading" @attr 7=1 0 14:04:21-15/11 zebrasrv(108) [session]
Connection closed by client
mistuser@MIST-Koha-Dev-V2:/var/lock/koha/zebradb$ <br><br><br></font></span>Hope someone can help me. Please do try :) Don't mind the timestamp differences. I just copied the errors at different times.<br><br>I hope someone can help me.<br>
<br>Thank you,<br><br><br></div>
<br></div><br></div>
</div><br></div>
<br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div>