[Koha] Koha 3.0 beta on Kubuntu gutsy - "production mode - trapped fatal error"
Ricardo Dias Marques
lists at ricmarques.net
Tue May 6 21:39:05 NZST 2008
On Mon, May 5, 2008 rmaynord <robert at maynord.net> wrote:
> I have close to a successful install of Koha 3.0 beta on Kubuntu gutsy. For
> example, the interface at port 80 comes up in Apache2 fine. However, i am
> having problems getting the OPAC interface on port 8080 to work. It tries
> to start, but then freezes with the message "production mode - trapped fatal
> error". Apache2's logs show no error, but Koha's log shows errors such as
> [Mon May 05 16:38:20 2008] [error] [client 127.0.1.1] [Mon May 5 16:38:20
> 2008] install.pl: Can't locate object method "generate_id" via package
> "CGI::Session::ID::" (perhaps you forgot to load "CGI::Session::ID::"?) at
> /usr/local/share/perl/5.8.8/CGI/Session.pm line 74.
I had this same problem during a test installation of Koha 3 Beta 2 in
a virtual machine running Linux (openSUSE 10.3).
I think I have found out the source of this problem. You probably had
(or will have) these errors while installing the CGI::Session module
from CPAN (these problems were also reported by other user in a post
regarding Koha installation in Mac OS X / Darwin -
t/g4_dbfile_json..................51/101 (in cleanup) Dumping
circular structures is not supported with
JSON::Syck at /Users/custard/.cpan/build/CGI-Session-4.20/blib/lib/CGI/Session/Serialize/json.pm
The author of the CGI::Session has complained about the JSON driver
being broken (in September 2007):
Fwd: JSON driver for CGI::Session still broken.: msg#00000
So, what are the (possible) solutions?
1 - I think the better solution would be to install the CGI::Session
module first, to make sure it gets installed before the module
JSON::Syck module gets installed.
2 - But, because you're already having this problem, the first
solution will NOT work for you. So the alternative is to do a "force
install" of the CGI::Session module (in a CPAN prompt).
Please, tell if doing the "force install" of the CGI::Session module
works for you.
Ricardo Dias Marques
lists AT ricmarques DOT net
More information about the Koha