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

Andrés Tarallo tarallo at ort.edu.uy
Thu Nov 18 00:14:40 NZDT 2004


I don't think so.  You must have the following lines added to your 
virtual hosts configuration:

SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
SetEnv KOHA_CONF "/etc/koha.conf"

please set KOHA_CONF to wherever is your koha configuration file. Hope 
this helps

Andrés

PS: There're a few bugs in the context.pm module when you're working 
under mod_perl. We at ORT are working to fix them, since a greater 
performance is achieved when working under mod_perl.

Harry Jackson wrote:

> 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