This question about Configuration, Using an extension, Upgrading from TWiki to Foswiki: Asked

PreferencesPlugin chokes on TWikiPreferencesForm

I encounter a Perl error on an otherwise blank page when attempting to load SitePreferences after upgrading to Foswiki 1.1.4. 1.1.3 loaded this page without problems.

Our site is running Perl version 5.8.5.

I am upgrading from TWiki 4.2.0, with plugin TWikiCompatibilityPlugin v.1.1.2 installed. As per upgrade instructions, I copied TWikiPreferences into SitePreferences.

When I disable PreferencesPlugin, the topic renders fine.

Configure shows no stop error problems with permissions.

The Foswiki error log reads as follows:

| 2012-03-16T23:12:13Z warning | Insecure dependency in eval while running with -T switch at /var/www/foswiki/library1.1/lib/Foswiki/Form.pm line 297.
 at /var/www/foswiki/library1.1/lib/Foswiki/Form.pm line 297
   Foswiki::Form::createField('Foswiki::Form=HASH(0xa53219c)', 'text', 'name', 'WEBBGCOLOR', 'title', 'WEBBGCOLOR', 'size', 20, 'value', ...) called at /var/www/foswiki/library1.1/lib/Foswiki/Form.pm line 256
   Foswiki::Form::_parseFormDefinition('Foswiki::Form=HASH(0xa53219c)') called at /var/www/foswiki/library1.1/lib/Foswiki/Form.pm line 116
   Foswiki::Form::new('Foswiki::Form', 'Foswiki=HASH(0x9a5bb3c)', 'System', 'TWikiPreferencesForm') called at /var/www/foswiki/library1.1/lib/Foswiki/Plugins/PreferencesPlugin.pm line 76
   Foswiki::Plugins::PreferencesPlugin::beforeCommonTagsHandler('---+!! %MAKETEXT{"Local customisations of site-wide preferenc...', 'SitePreferences', 'Main', 'Foswiki::Meta=HASH(0xa0915f0)') called at /var/www/foswiki/library1.1/lib/Foswiki/Plugin.pm line 287
   Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0x9ecf3f8)', 'beforeCommonTagsHandler', '---+!! %MAKETEXT{"Local customisations of site-wide preferenc...', 'SitePreferences', 'Main', 'Foswiki::Meta=HASH(0xa0915f0)') called at /var/www/foswiki/library1.1/lib/Foswiki/Plugins.pm line 331
   Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x9a90adc)', 'beforeCommonTagsHandler', '---+!! %MAKETEXT{"Local customisations of site-wide preferenc...', 'SitePreferences', 'Main', 'Foswiki::Meta=HASH(0xa0915f0)') called at /var/www/foswiki/library1.1/lib/Foswiki.pm line 3228
   Foswiki::expandMacros('Foswiki=HASH(0x9a5bb3c)', '---+!! %MAKETEXT{"Local customisations of site-wide preferenc...', 'Foswiki::Meta=HASH(0xa0915f0)') called at /var/www/foswiki/library1.1/lib/Foswiki/Meta.pm line 3129
   Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0xa0915f0)', '---+!! %MAKETEXT{"Local customisations of site-wide preferenc...') called at /var/www/foswiki/library1.1/lib/Foswiki/UI/View.pm line 402
   Foswiki::UI::View::_prepare('---+!! %MAKETEXT{"Local customisations of site-wide preferenc...', 'Foswiki::Meta=HASH(0xa0915f0)', 0) called at /var/www/foswiki/library1.1/lib/Foswiki/UI/View.pm line 382
   Foswiki::UI::View::view('Foswiki=HASH(0x9a5bb3c)') called at /var/www/foswiki/library1.1/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/lib/perl5/site_perl/5.8.5/Error.pm line 415
   eval {...} called at /usr/lib/perl5/site_perl/5.8.5/Error.pm line 407
   Error::subs::try('CODE(0x9a03528)', 'HASH(0x9a5b8e4)') called at /var/www/foswiki/library1.1/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x93c7898)', 'CODE(0x9a29cdc)', 'view', 1) called at /var/www/foswiki/library1.1/lib/Foswiki/UI.pm line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x93c7898)') called at /var/www/foswiki/library1.1/lib/Foswiki/Engine/CGI.pm line 41
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x962f830)') called at /var/www/foswiki/library1.1/bin/view line 24.

-- StephenMossbarger - 16 Mar 2012

 

QuestionForm edit

Subject Configuration, Using an extension, Upgrading from TWiki to Foswiki
Extension PreferencesPlugin
Version Foswiki 1.1.4
Status Asked
Related Topics
Topic revision: r2 - 19 Mar 2012, StephenMossbarger
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy