Christoffer Landtman wrote:
Wolfgang Pichler wrote:
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
i have no idea why rpn is empty.
please give instructions what to do / trace.
again. let's trace it down ...
local database is ok and will serve yaz-client properly.
error also comes up on predefined search locations:
FULL ERRORS for search before add item :
YAZ error: 10010 (Invalid query) (Host: localhost:3000/emilda) (Query: )
YAZ error: 10010 (Invalid query) (Host: localhost:3000/emilda) (Query: )
YAZ error: 10010 (Invalid query) (Host: z3950.libris.kb.se:210/libr)
(Query: )
YAZ error: 10010 (Invalid query) (Host:
groucho.lib.rochester.edu:7090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host:
zsrv.library.nwu.edu:11090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host:
prodorbis.library.yale.edu:7090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host:
catalog.princeton.edu:7090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host:
catalog.library.cornell.edu:7090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host: summit.syr.edu:7090/voyager)
(Query: )
YAZ error: 10010 (Invalid query) (Host: breeze.gmu.edu:7090/voyager)
(Query: )
YAZ error: 10010 (Invalid query) (Host:
luis.indstate.edu:7090/voyager) (Query: )
YAZ error: 10010 (Invalid query) (Host:
obiwan.lib.purdue.edu:7090/voyager) (Query: )
FULL ERRORS for delete item :
YAZ error: 10010 (Invalid query) (Host: ) (Query: )
You enter some search ciriteria in e.g. book_add and You get the above
errors?
yes. correct.
Is Your MARC.inc up2date? What about Your marc_configuration table in
MySQL?
MARC.inc definitely latest CVS.
marc_configuration see attached.
-- MySQL dump 9.11
--
-- Host: localhost Database: emilda
-- ------------------------------------------------------
-- Server version 4.0.20-log
--
-- Table structure for table `marc_configuration`
--
CREATE TABLE marc_configuration (
marc_field varchar(255) NOT NULL default '',
marc_format varchar(255) default NULL,
marc_identifier varchar(255) default NULL,
marc_ind1 varchar(255) NOT NULL default '',
marc_ind2 varchar(255) NOT NULL default '',
marc_desc varchar(255) default NULL,
marc_editable tinyint(1) default '0',
marc_searchable tinyint(1) default '0',
marc_location_id tinyint(4) NOT NULL default '0',
marc_list tinyint(1) default '0',
marc_extended tinyint(1) default '0',
PRIMARY KEY (marc_field),
KEY marc_editable (marc_editable),
KEY marc_searchable (marc_searchable),
KEY marc_location_id (marc_location_id)
) TYPE=MyISAM;
--
-- Dumping data for table `marc_configuration`
--
INSERT INTO marc_configuration VALUES
('001',NULL,'book_control_number','','','Control number',0,0,1,0,0);
INSERT INTO marc_configuration VALUES
('003',NULL,'book_control_number_identifier','','','Control Number
Identifier',0,0,1,0,0);
INSERT INTO marc_configuration VALUES ('020','%a
(%z)','book_isbn','','','ISBN',1,1,1,1,1);
INSERT INTO marc_configuration VALUES
('020a',NULL,'book_isbn','','','ISBN',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('020z',NULL,'book_control_number','','','ungültige/nicht verwendete
ISBN',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('020c',NULL,'book_terms_of_availability','','','Terms Of
Availability',0,0,1,0,0);
INSERT INTO marc_configuration VALUES
('022','all','book_issn','','','ISSN',0,0,1,0,0);
INSERT INTO marc_configuration VALUES
('100','all','book_author','','','Author',1,1,1,1,1);
INSERT INTO marc_configuration VALUES
('100a',NULL,'book_author_personal_name','','','Personal Name',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('100c',NULL,'book_titles_associated','','','Titles Associated',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('100d',NULL,'book_dates_associated','','','Dates Associated',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('100f',NULL,'book_date_of_work','','','Date of Work',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('100l',NULL,'book_language','','','Language of Work',1,0,1,0,0);
INSERT INTO marc_configuration VALUES ('245','%a (%c),
%b','book_title','','','Title',1,1,1,1,1);
INSERT INTO marc_configuration VALUES
('245a',NULL,'book_title','','','Title',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('245b',NULL,'book_remainder_of_title','','','Remainder of Title',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('245c',NULL,'book_statement_of_responsibility','','','Statement of
Responsibility',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('245h',NULL,'book_medium','','','Medium',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('245k',NULL,'book_form','','','Form',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('245s',NULL,'book_version','','','Version',1,0,1,0,0);
INSERT INTO marc_configuration VALUES
('260','all','book_imprint','','','Imprint',1,0,1,1,1);
INSERT INTO marc_configuration VALUES
('500','all','book_general_note','','','General Note',0,0,1,0,0);
INSERT INTO marc_configuration VALUES ('any','','book_any','','','All
Fields',0,1,1,0,0);
|