The latest (4.10) version of CGI::Session breaks Client.pm when called from, e.g., bin/view, with the fatal error:
Can't use string ("CGI::Session") as a HASH ref...
This is called from lib/TWiki/Client.pm line 88, which does:
CGI::Session->name( 'TWIKISID' );
CGI::Session is broken and I have filed
http://rt.cpan.org/Ticket/Display.html?id=18455 for it. Workaround is to change line 88 to:
$CGI::Session::NAME = 'TWIKISID'
Yuch; thus violating the encapsulation of CGI::Session.
I'd rather they fixed CGI::Session; or we had a switch on the CGI::Session version number.
CC
Upgrade CGI::Session to 4.03, see
TWiki:Support.CGISessionComplaints
--
PTh
It's 4.10 that's broken, according to the above report.
CC
We need a work around for this.
Only very skilled people dare down grading a Perl module. Just finding an old RPM or deb that will not give version conflict is difficult.
We'd better have a work around put into 4.0.3.
See here.
http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-04-03,Mon&sel=925#l921
It will haunt us again and again.
KJL
A new version of CGI::Session, 4.11, has been released that looks like it fixes this, even though the RT report has not been updated.
PeterScott