This question about Installation of Foswiki: Answered

Software Error upgrading to 1.1.2

I have foswiki 1.0.9 running well on solaris 10, apache 2.2.8, perl 5.8.4. I'm trying to upgrade to foswiki 1.1.2. I've untarred installation files to new directory. I've copied LocalSite.cfg over from my 1.0.9 setup. I've cleaned up all errors and warnings flagged by configure. When I try to display the default Main topic that comes with the installation, I get this error...

[Fri Feb 25 09:43:47 2011] view: OopsException(attention/no_such_template params=>[icons,]) 
CGI::Carp::realdie('[Fri Feb 25 09:43:47 2011] view: OopsException(attention/no_s...') called at /usr/perl5/5.8.4/lib/CGI/Carp.pm line 446
CGI::Carp::die('Foswiki::OopsException=HASH(0xa8eeb4)') called at /usr/perl5/site_perl/5.8.4/Error.pm line 184 
Error::throw('Foswiki::OopsException=HASH(0xa8eeb4)') called at /usr/perl5/site_perl/5.8.4/Error.pm line 436 
Error::subs::try('CODE(0x27f874)', 'HASH(0x11bef8)') called at /wwwpet/nmd/foswiki/Foswiki-1.1.2/lib/Foswiki/UI.pm line 435 
Foswiki::UI::_execute('Foswiki::Request=HASH(0x30c60)', 'CODE(0x1166ec)', 'view', 1) called at /wwwpet/nmd/foswiki/Foswiki-1.1.2/lib/Foswiki/UI.pm line 277
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x30c60)') called at /wwwpet/nmd/foswiki/Foswiki-1.1.2/lib/Foswiki/Engine/CGI.pm line 37 
Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x281428)') called at /wwwpet/nmd/wikitest/bin/view line 24

I don't know if it's related to this failure, but I don't believe we recommend use of any perl older than 5.8.8 for Foswiki 1.1, And most of our testing is now on 5.10 and 5.12.

For Foswiki 1.1, it is probably better to not migrate your LocalSite.cfg. It should be backwards compatible, but it is definitely cleaner to reconfigure. Could you remove your LocalSite.cfg file and run bin/configure steps to create a new default configuration to see if the problem remains?

-- GeorgeClark - 25 Feb 2011


The old LocalSite.cfg was apparently not compatible. I removed the file and ran configure to recreate it from scratch. The error is gone. I can view the default Main topic now. Thanks for your help.

-- CharlesFraser - 25 Feb 2011

QuestionForm edit

Subject Installation of Foswiki
Extension
Version Foswiki 1.1.2
Status Answered
Topic revision: r3 - 25 Feb 2011, CharlesFraser
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