[Koha-bugs] [Bug 7810] C4/Auth.pm - on plack restart session is undefined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 27 14:57:38 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7810

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |Needs Signoff

--- Comment #4 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
I got lucky (kind of). I restarted plack (using plackup only, not starman) and
got following error on /cgi-bin/koha/mainpage.pl

Can't call method "delete" on an undefined value at /srv/koha/C4/Auth.pm line
693, <DATA> line 522.
 at /srv/koha/mainpage.pl line 67

Since my patch fixes that line, I'm reopening the bug.

Only way to recover from this error is to manually delete cookie which is not
really good solution for users.

My session looks very strange:

dpavlin at koha-dev:/tmp$ sudo cat /tmp/cgisess_b77b83762178c18a0e7a3ac4f4e50738
--- 
_SESSION_ATIME: '1332851288'
_SESSION_CTIME: '1332851288'
_SESSION_ID: b77b83762178c18a0e7a3ac4f4e50738
_SESSION_REMOTE_ADDR: 193.198.212.4

and corrent time on system is:

dpavlin at koha-dev:/tmp$ perl -e 'print time(),$/'
1332852562

My $timeout is 3600 which doesn't really explain why I end up in this code path
since 1332852562 - 1332851288 = 1274

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list