koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andrés Tarallo
Subject: [Koha-devel] Re: I think theres a Bug in new 2.2 Koha release
Date: Wed Nov 17 03:10:12 2004
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]