Tags:
create new tag
view all tags

TWiki Notes

I tried to install TWiki 4.2.2 on a managed hosting plan offered by http://canhost.de. Here are some notes on findings and workarounds.

Symptom: When enabling session management, I get an error message Can't locate object method "generate_id" via package "CGI::Session::ID::". This is also reported e.g. on SessionIdGeneration.

Root Cause: Initializing handlers in Session::_load_pluggables aborts while loading CGI::Session::Serialize::default because Scalar::Util::refaddr is not defined presumably because the web server runtime is outdated. The perl error was caught by an eval and not displayed, therefore the actual error is about Session::ID and not Session::Serialize.

Failed fix: replacing Scalar::Util in the TWiki installation did not work, I assume because it is loaded by perl before TWiki initializes its include path?!?

Fix: replace the CPAN/CGI/Session directory with a older version. I used version 3.95, which is the oldest supported one according to the installation instructions.

Symptom: Editing a page in the Wysiwyg editor doesn't show the page content, but red text about problems retrieving the content.

Root Cause: looking into the TWiki warning log, there are messages:

31 Aug 2008 - 18:47 | TWiki::Plugins::WysiwygPlugin could not be loaded. Errors were:
Too many arguments for Encode::decode_utf8 at .../ib/TWiki/Plugins/WysiwygPlugin.pm line 621, near "Encode::FB_PERLQQ)"
It seems that the web host uses an old version of Encode which doesn't use the extra FB_PERLQQ argument.

Fix: remove the FB_PERLQQ argument from all calls to encode and decode in WysiwygPlugin.pm.

My Links

My Personal Data

Note: if personal data is being stored using a secret database, then it is only visible to the user and to administrators.

E-mail  

My Personal Preferences

Uncomment preferences variables to activate them (remove the #-sign). Help and details on preferences variables are available in TWikiPreferences.

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off:
    • #Set LINKTOOLTIPINFO = off

Related Topics

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-31 - HenningSpruth
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.