I think theres a Bug in new 2.2 Koha release
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
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
Andrés Tarallo a écrit :
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.
Right. Don't forget to submit your changes to koha-dev or ask for a sourceforge developper entry. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
We' ll do so. We've submited some patches to koha-devel, but we will patch against the new version a submit our patches. We hope to have a working 2.2.0 RC1 instalation by friday, to stasrt patching and testing the patches. Andres Paul POULAIN wrote:
Andrés Tarallo a écrit :
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.
Right. Don't forget to submit your changes to koha-dev or ask for a sourceforge developper entry.
participants (3)
-
Andrés Tarallo -
Harry Jackson -
Paul POULAIN