[Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.29,1.6.2.30

Steve Tonnesen tonnesen at users.sourceforge.net
Fri Jun 28 20:07:30 CEST 2002


Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv2980/acqui.simple

Modified Files:
      Tag: rel-1-2
	marcimport.pl 
Log Message:
marcimport.pl will print an error message if it can not signal the
processz3950queue program.  The message contains instructions for starting the
daemon.


Index: marcimport.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/marcimport.pl,v
retrieving revision 1.6.2.29
retrieving revision 1.6.2.30
diff -C2 -r1.6.2.29 -r1.6.2.30
*** marcimport.pl	27 Jun 2002 18:35:01 -0000	1.6.2.29
--- marcimport.pl	28 Jun 2002 18:07:27 -0000	1.6.2.30
***************
*** 757,762 ****
          }
  
! 	addz3950queue($dbh,$input->param('query'), $input->param('type'), 
! 		$input->param('rand'), @serverlist);
      } else {
  	print "<font color=red size=+1>$query is not a valid ISBN
--- 757,780 ----
          }
  
! 	if (addz3950queue($dbh,$input->param('query'), $input->param('type'), 
! 		$input->param('rand'), @serverlist)) {
! 	    print qq|
! <table border=1 cellpadding=5 cellspacing=0 align=center>
! <tr><td bgcolor=#99cc33 background=/images/background-acq.gif colspan=2><font color=red><b>Error</b></font></td></tr>
! <tr><td colspan=2>
! <b>No Z39.50 client daemon running on the server.</b><p>
! There is a launcher for the Z39.50 client daemon in your intranet installation<br>
! directory under <b>./scripts/z3950daemon/z3950-daemon-launch.sh</b>.  This<br>
! script should be run as root, and it will start up the program running with the<br>
! privileges of your apache user.  Ideally, this script should be started from a<br>
! system init directory so that is running after the machine starts up.
! 	
! </td></tr>
! </table>
! 
! <table border
! 
! |;
! 	}
      } else {
  	print "<font color=red size=+1>$query is not a valid ISBN
***************
*** 1119,1122 ****
--- 1137,1145 ----
  #---------------
  # $Log$
+ # Revision 1.6.2.30  2002/06/28 18:07:27  tonnesen
+ # marcimport.pl will print an error message if it can not signal the
+ # processz3950queue program.  The message contains instructions for starting the
+ # daemon.
+ #
  # Revision 1.6.2.29  2002/06/27 18:35:01  tonnesen
  # $deweyinput was always defined (it's an HTML input field).  Check against





More information about the Koha-cvs mailing list