Tags:
create new tag
view all tags

Question

I am trying to setup email for Twiki 4.0.5 and i am using the Net::SMTP module.

I am following the steps provided for installing Mailer Contrib and i get the following error when i run the MailerContrib_installer

"$ ./MailerContrib_installer Can't locate object method "generate_id" via package "CGI::Session::ID::" (perha ps you forgot to load "CGI::Session::ID::"?) at c:/twiki/lib/CPAN/lib///CGI/Sess ion.pm line 74. BEGIN failed--compilation aborted at ./MailerContrib_installer line 106."

Please help

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP
Web server: Apache 1.3.37
Perl version: Perl 5.8
Client OS: Windows XP
Web Browser: IE 6
Categories: Mail

-- JasmineLou - 22 Dec 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

  • The MailerContrib is shipped pre-installed in the standard TWiki release. You should not need to re-install it.
  • It sounds very much like your version of CGI::Session is not compiling. What version do you have? perl -e 'use CGI::Session; print $CGI::Session::VERSION' to find out.
  • Possibly you are trying to run the installer in a context where the CGI::Session module is not available.
  • The installer script is only used to check dependencies, so you can afford to ignore this error. It ought to work OK without running the installer.

-- CrawfordCurrie - 04 Jan 2007

Hi, I am trying to set up webnotify, on a server where I don't have shell access. I also followed the intallation instructions and was surprised to discover that MailerContrib is already installed. I would like to know why it doesnt' come up in configure as a plugin option that I can enable? Cheers

-- NigelHaslam - 08 Jan 2007

Contrib packages aren't actually plugins - they're more like CPAN modules in that they can be used by a plugin to accomplish something more easily. So they don't, by themselves, do anything, and I think that's why they're not listed in configure.

-- JohnWorsley - 30 Mar 2007

i had the same problem, running TWiki 4.1.2 with perl 5.6.1. i tracked the problem down to CGI::Session->_load_plugbables(). in the for loop where it initializes the default values: foreach my $plug qw(driver serializer id) { ... } it simply ignored "id". i tried and replaced "id" by "foo" to verify that "id" isn't treaded as function or some special meaning string, with no success. moving "id" to the front of the list did the trick!???

-- HansRiethmann - 16 Aug 2007

Hans, your solution is not working out in my case. Please check this topic SessionIdGeneration also. Thanks a ton.

-- TWikiGuest - 29 Nov 2007

Closing this support question after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Jan 2008

Change status to:
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2008-01-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.