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.
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