Tags:
create new tag
, view all tags

Question

I have followed the installation procedure of installing TWiki on Redhat EL5. I am at the TWiki Configuration screen, under Security Setup, Sessions, it is asking to have the CGI::Session Perl Module. It is saying "Error: The CGI::Session Perl module is required for session support, but is not available." I have installed the RPM, and CPAN versions of this module and have had no luck getting this error to go away.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat Enterprise Linux 5
Web server: Apache
Perl version: 5.8.8.820
Client OS:  
Web Browser:  
Categories: Installation

-- JonasShearer - 18 Apr 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I solved this on an hosted server: compile the cpan module with perl Makefile.PL LIB=~twiki/lib/CPAN/lib PREFIX=~twiki/lib/CPAN/lib. ~twiki is the home dir of your installation. in LocalLib.cfg set $twikiLibPath to ~twiki/lib. Perhaps this works also for you.

-- RichardVinke - 19 Apr 2007

-- JonasShearer - 20 Apr 2007

I tried the first recommendation, but it made no change. The $twikiLibPath was already changed when I followed the instructions from the TWikiOnRedHat form. Anyone else?

-- JonasShearer - 20 Apr 2007

It almost seems as if the CGI::Session is not installing, but I know it is. TWiki for some reason is not recognizing it.

-- JonasShearer - 20 Apr 2007

Did you did the install with the above parameters and make, make test, and make install? If than the $twikiLibPath is set to the above mentioned path, TWiki should find the new installation.

-- RichardVinke - 21 Apr 2007

its very odd that you have CPAN::Session installed, but at the same time don't. The next thing to do, is to find the CGI/Session.pm file - so you know where rpm etc have put them. then take a look at the PERL LIB path shown in configure

I'm expecting that either you can't find it (thus its not actually installed), or its not in the PERL path that TWiki is using.

-- SvenDowideit - 24 Apr 2007

I used a different command and installed it. I'm not sure, it may have been me.

-- JonasShearer - 15 May 2007

 
Change status to:
Topic revision: r6 - 2007-05-15 - JonasShearer
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.