[Koha] production mode-trapped fatal error

PasiK pasi.korkalo at oululainen.com
Mon Jul 14 21:55:15 NZST 2008


Installing from cpan with force option seems to have done the trick. At least
I got the web-installer running now...


PasiK wrote:
> 
> CGI::Session::Serialize::yaml won't install, instead I get error messages
> like this:
> 
> Can't call method "can" on an undefined value at
>         /usr/lib/perl5/5.8.8/overload.pm line 54 (#2)
>     (F) You used the syntax of a method call, but the slot filled by the
>     object reference or package name contains an undefined value. 
> Something
>     like this will reproduce the error:
> 
>         $BADREF = undef;
>         process $BADREF 1,2,3;
>         $BADREF->process(1,2,3);
> 
> Uncaught exception from user code:
>         Can't call method "can" on an undefined value at
> /usr/lib/perl5/5.8.8/overload.pm line 54.
>  at /usr/lib/perl5/5.8.8/overload.pm line 54
>         overload::Overloaded('undef') called at
> /root/.cpan/build/CGI-Session-4.20/blib/lib/CGI/Session/Test/Default.pm
> line 326
>        
> CGI::Session::Test::Default::run('CGI::Session::Test::Default=HASH(0x84817bc)')
> called at t/g4_dbfile_json.t line 47
> 
> And then:
> 
> t/g4_mysql......................skipped
>         all skipped: Couldn't establish connection with the MySQL server:
> Can't connect to data source '' because I can't work out what driver to
> use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER
> env var is not set) at t/g4_mysql.t line 44
> 
> 
> Chris Cormack-6 wrote:
>> 
>> Hi Pasik
>> 
>> Recent versions of CGI::Session on CPAN have a dependency that isnt
>> installed when you install CGI::Session
>> The trick is to install CGI::Session::Serialize::yaml.
>> 
>> Chris
>> 
>> On Mon, Jul 14, 2008 at 8:49 PM, PasiK <pasi.korkalo at oululainen.com>
>> wrote:
>>>
>>> Same problem here with Slackware 12.1 and Koha3, this is what
>>> koha-error.log
>>> has to say about it:
>>>
>>> [Mon Jul 14 11:54:50 2008] [error] [client 192.168.0.50] [Mon Jul 14
>>> 11:54:50 2008] install.pl: Use of uninitialized value in concatenation
>>> (.)
>>> or string at /usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 129.
>>> [Mon Jul 14 11:54:50 2008] [error] [client 192.168.0.50] [Mon Jul 14
>>> 11:54:50 2008] install.pl: Use of uninitialized value in string eq at
>>> /usr/share/koha/lib/C4/Context.pm line 38.
>>> [Mon Jul 14 11:54:50 2008] [error] [client 192.168.0.50] [Mon Jul 14
>>> 11:54:50 2008] install.pl: Use of uninitialized value in string eq at
>>> /usr/share/koha/lib/C4/Context.pm line 38.
>>> [Mon Jul 14 11:54:50 2008] [error] [client 192.168.0.50] [Mon Jul 14
>>> 11:54:50 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/lib/perl5/site_perl/5.8.8/CGI/Session.pm
>>> line
>>> 74.
>>>
>>> 192.168.0.50 is the machine that I use to access the Koha-server. The
>>> server
>>> itself it at 192.168.0.57.
>>>
>>>
>>> sujit kumar wrote:
>>>>
>>>> Hello friends,
>>>>
>>>> While installing koha-3 into ubuntu gutsy i faced the problem
>>>> "production
>>>> mode-trapped fatal error" .
>>>> Is any one can suggest me what could be wrong.
>>>> It will be a great help for me.
>>>>
>>>> Thanking you in advance,
>>>>
>>>> Best,
>>>>
>>>> Sujit.
>>>>
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/production-mode-trapped-fatal-error-tp18438261p18439772.html
>>> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Koha mailing list
>>> Koha at lists.katipo.co.nz
>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/production-mode-trapped-fatal-error-tp18438261p18440703.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list