I am having the same problem, and the unfortunately the 'force install' did not help. When installing the perl modules, I did install CGI::Session before YAML::Syck, but still recieved this error. Any ideas? Kyle On Tue, May 6, 2008 at 5:39 AM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
Hi Robert,
On Mon, May 5, 2008 rmaynord <robert@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
[snp]
[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 - http://www.nabble.com/koha-3.0-on-macos-darwin-td15392282.html ):
__________________
t/g4_dbfile_json..................# JSON::Syck 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 line 18. __________________
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 http://osdir.com/ml/lang.perl.modules.cgi-session.user/2007-09/msg00000.html
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.
Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- http://www.kylehall.info Information Technology Crawford County Federated Library System ( http://www.ccfls.org )