[Koha] Update Debian and Koha ceases to work...

atrus123 atrus123 at gmail.com
Fri May 23 05:48:34 NZST 2008


So I did a full dist-upgrade of Debian Lenny the other day (following the
whole SSL debacle) and now Koha will no longer open.  This is just a test
machine, but I like to have everything working so we can continue testing.

Anyway at first the Apache error log looked like this: 
---------
BEGIN failed--compilation aborted at
/home/myuser/kohaclone/opac/opac-main.pl line 22.
Can't locate CGI/Session.pm in @INC (@INC contains: /home/myuser/kohaclone
/etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /home/myuser/kohaclone/C4/Auth.pm line 26.
BEGIN failed--compilation aborted at /home/myuser/kohaclone/C4/Auth.pm line
26.
Compilation failed in require at /home/myuser/kohaclone/opac/errors/500.pl
line 21.
BEGIN failed--compilation aborted at
/home/myuser/kohaclone/opac/errors/500.pl line 21.
----------
I found that my Perl modules were actually located under 5.8.0.  I fixed
that just using a symbolic link, and most errors went away.

Now I just get several lines of this:
------------
Can't locate object method "preference" via package "C4::Context" at
/home/myuser/kohaclone/C4/Context.pm line 30.
Can't locate object method "preference" via package "C4::Context" at
/home/myuser/kohaclone/C4/Context.pm line 30.
Can't locate object method "preference" via package "C4::Context" at
/home/myuser/kohaclone/C4/Context.pm line 30.
-------------
Any thoughts?  I also tried synching Koha with the latest git tree and
updating Debian again, but nothing seems to have fixed the problem. 
KOHA_CONF and PERL5LIB are pointing to the correct locations.
-- 
View this message in context: http://www.nabble.com/Update-Debian-and-Koha-ceases-to-work...-tp17409773p17409773.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list