[Koha] I think theres a Bug in new 2.2 Koha release

Harry Jackson h.jackson at acu.ac.uk
Wed Nov 17 23:46:23 NZDT 2004


Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 110.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 111.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 112.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 113.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 189.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 190.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 191.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 192.
Global symbol "$context" requires explicit package name at 
/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 193.


To fix

Add the following line:

my $context = C4::Context->new("/path to/koha.conf");

to

/usr/local/koha/intranet/scripts/z3950daemon/processz3950queue

The line needs to go before the first use of the $context variable. 
Replace "path to" with the directory of where your koha.conf file is.

Harry




More information about the Koha mailing list