Tags:
create new tag
, view all tags

Question

I tried upgrading to a newer Twiki, but was having problems getting it to work. I restored my backup directory and filesync says that all files are identical, but when I try to load any TWiki page I recieve the error:

Undefined subroutine &TWiki::Plugins::initializeUser called at ../lib/TWiki.pm line 296.

Please, somebody help. What could go wrong if all files are identical?

-- JeffEaston - 01 Jul 2004

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, ActionTrackerPlugin, AliasPlugin, CommentPlugin, EditTablePlugin, EmbedPDFPlugin, HiddenTextPlugin, LocalCityTimePlugin, NotificationPlugin, PowerEditPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin
Server OS: Windows XP SP1
Web server: Apache 1.3.31
Perl version: 5.6.1 Cygwin
Client OS: Windows XP SP1
Web Browser: IE6

-- JeffEaston - 01 Jul 2004

Answer

It looks like you are mixing parts of an old and new TWiki installation. On an upgrade, restore only the data and pub directories, and use the bin, lib and templates directories of the new TWiki version.

Also, set an absolute lib path in bin/setlib.cfg, your current ../lib/TWiki.pm setting indicates that you are using a relative path.

-- PeterThoeny - 01 Jul 2004

Topic revision: r2 - 2004-07-01 - PeterThoeny
 
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.