星期五, 2月 16, 2007

koha3.0

i set up rel_3_0 and use zebra(unimarc),
my opac operl script & opac_tmpl(prog) use rel_3_0.
database execute updatedatabase.

koha.xml
---------------------------------------------

tcp:@:9900

/home/zebra/zebradb/biblios
/home/laxendion/tools/cvs/dev_week/koha/zebraplugin/etc/zebra.cfg
/home/laxendion/tools/cvs/dev_week/koha/zebraplugin/etc/pqf.properties


Koha
-------------------------------------------
it means mysql database name or zebra databae name.
i can't sure which that?
--------------------------------------------
localhost
koha
dion0104
default
0
default
0
/usr/loca/koha/intranet
/usr/local/koha/opac
/usr/local/koha/opac/htdocs/opac-tmpl
/usr/local/koha/intranet/htdocs/intranet-tmpl
/usr/local/koha/intranet/htdocs/intranet-tmpl/default/en/includes/


-----------------------------------------------------------------------
i import some biblios. i use yaz-client

root@laxendion:~# yaz-client @:9900/biblios
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 81
Name : Zebra Information Server/GFS/YAZ
Version: Zebra 2.0.6/1.108/2.1.46
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets
Elapsed: 0.052761
Z> find @attr 1=1016 perl
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1, setno 1
SearchResult-1: term=perl cnt=1
records returned: 0
Elapsed: 0.208630
----------------------------------------------------
show 1
Z> show 1
Sent presentRequest (1+1).
Records: 1
[biblios]Record type: USmarc
01051 2200217 4500
010 $a 96007074 //r96
020 $a 1571690581
082 $a 005.13/3
090 $c 15 $d 15
100 1 $a Glover, Mike.
245 10 $a Perl 5 how-to / $c Mike Glover, Aidan Humphreys, Ed Weiss.
260 $a Corte Madera, Calif. : $b Waite Group Press, $c c1996.
300 $a xxiii, 860 p. : $b ill. ; $c 23 cm. + $e 1 computer laser optical disc (4 3/4 in.)
500 $a "The definitive perl programming problem-solver."--Cover.
538 $a System requirements for accompanying computer disc: IBM PC or UNIX workstation; DOS 3.3 or greater; Windows 3.1 or greater; Windows 95; UNIX-compatible operating system with Perl port; recommended: CD-ROM drive and Internet access.
650 0 $a Perl (Computer program language)
650 0 $a Object-oriented programming (Computer science)
700 1 $a Humphreys, Aidan.
700 1 $a Weiss, Ed.
942 $c BOOK
995 $b 輔仁大學圖書資訊學系資訊組織 $c 輔仁大學圖書資訊學系資訊組織 $e 西文書庫 $f 11 $j 11 $k 123.34 $o 0 $9 12

nextResultSetPosition = 2
Elapsed: 0.052356
--------------------------------------------------------------------------
and then my koha.conf

zebradb=localhost:9900/biblios
database=Koha
hostname=localhost
user=koha
pass=dion0104
intranetdir=/usr/local/koha/intranet
opacdir=/usr/local/koha/opac
kohalogdir=/usr/local/koha/log
kohaversion=3.0
httpduser=www-data
intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl
opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl
-----------------------------------------------------
i run opac-search.pl but it can't work

error log
--------------------------------------------
error : Can't call method "_conn" on an undefined value at /usr/local/lib/perl/5.8.7/ZOOM.pm line 123.


[Fri Feb 16 09:43:10 2007] [error] [client 127.0.0.1] Start tag expected, '<' not found at /usr/local/lib/perl/5.8.7/XML/LibXML/SAX.pm line 64
[Fri Feb 16 09:43:10 2007] [error] [client 127.0.0.1] at /usr/local/share/perl/5.8.7/XML/Simple.pm line 291

沒有留言: