Subject: | DateTime::Local v0.3x does not work with Apache::Session::Serialize::Storable v1 |
Date: | Fri, 12 Jan 2007 12:13:06 +0100 |
To: | <bug-DateTime-Locale [...] rt.cpan.org> |
From: | Morten Bjørnsvik <morten.bjornsvik [...] experian-scorex.no> |
Hi
We got some serious login problems on our new server, it turned out that DateTime::Locale
fresh from cpan v0.33 didn't work with our Apache Sessions. It returned undef and
thus generated a new one each time, resulting in invalid session-cookie.
Downgrading to v0.21 worked. It was what we had on our old server.
Sorry I haven't tested more thoroughly.
[ERROR:2357] 2007/01/05 10:12:49 /opt/s3/etc/session_handler_mp2.pl:119 - got
error Parameter #1 (undef) to DateTime::Locale::load was an 'undef', which is
not one of the allowed types: scalar
at /usr/lib/perl5/site_perl/5.8.5/DateTime/Locale.pm line 199
DateTime::Locale::load('undef', 'undef') called at
/usr/lib/perl5/site_perl/5.8.5/DateTime/Locale/Base.pm line 135
DateTime::Locale::Base::STORABLE_attach('DateTime::Locale::en', 0,
'undef') called at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/thaw.al) line 366
eval {...} called at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/thaw.al) line 366
Storable::thaw('\x{5}\x{7}\x{3}\x{0}\x{0}\x{0}\x{2}\x{a}
c3a87422f7bc01f68dd26222af28f0ba\x{0}\x{0}\x{0}\x{b}_session_id\x{4}\x{11}\x{6}S3...')
called at /usr/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/Storable.pm
line 27
Apache::Session::Serialize::Storable::unserialize('Apache::Session::File=HASH(0xb521828)')
called at /usr/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 497
Apache::Session::restore('Apache::Session::File=HASH(0xb521828)') called
at /usr/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 407
Apache::Session::TIEHASH('Apache::Session::File',
'c3a87422f7bc01f68dd26222af28f0ba') called at /opt/s3/etc/session_handler_mp2.pl
line 109
eval {...} called at /opt/s3/etc/session_handler_mp2.pl line 108
SECANA::SCPHandler::handler('Apache2::RequestRec=SCALAR(0xb5216fc)')
called at -e line 0
eval {...} called at -e line 0, at
/usr/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/Storable.pm line 27
tying session
... turned out DateTime::Locale 0.3x doesn't work with Storable..
.. and the workaround is to install DateTime::Locale 0.21
--
Morten Bjørnsvik
morten.bjornsvik(at)experian-scorex.no
Experian-Scorex AS, PB 121, 0102 Oslo, Norway