Tags:
create new tag
view all tags

Question

I applied the 'changed files' to upgrade my TWiki 4.0.2 to 4.0.3. I let it replace all the files for the ones that existed. After the upgrade, if I run the 'configure' script I get the following error:

Software Error:

Undefined subroutine &TWiki::_PROMPT_FOR_SELECTCLASS called at /usr/lib/cgi-bin/twiki/configure line 1033.

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

Any clue to the cause for this?

Environment

TWiki version: TWikiRelease04x00x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu Hoary
Web server: 1.3.33
Perl version: 5.8.4
Client OS: Win XP latest
Web Browser: FireFox
Categories: Installation

-- RickMach - 25 Jun 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

There was a problem with the TWiki-4.0.3-changed.zip.

Many files were missing in it all over the directories.

Among other an updated configure. Please download a new fresh -changed file and try again.

-- KennethLavrsen - 26 Jun 2006

I downloaded and installed a fresh copy of the 'changes' zip file. Now configure works properly. Thanks for your help.

So were there any files in the old zip that got install that shouldn't have that could cause problems? Any reason to consider a fresh copy of the entire wiki? I did note TWikiPreferences were in the old one but not in the new one. Though I didn't do an exhaustive comparison.

-- RickMach - 26 Jun 2006

There were no wrong files or too many files. Only missing files. Maybe round 20-30 files that were missing. Copying the new -changed file on top will have brought your 4.0.2 fully updated to 4.0.3. So need to start over with a full re-install.

In the updated -changed I removed some files that were in the original. They are files that actually did not change.

Four WebLeftBar topics were also removed from the -changed because they had a fix which contained a work around for a badly behaving INCLUDE function. But the INCLUDE function had actually also been fixed between 4.0.2 and 4.0.3 so this fix is not needed. It does no harm either. So to help upgraders so they do not overwrite a tailored WebLeftBar I decided to remove them from the -changed zip.

We know it is a pain in the neck to upgrade so we want to make it as easy as possible.

Note the topic UpgradingTWiki04x00PatchReleases which should help upgraders getting safely through a patch release update.

-- KennethLavrsen - 26 Jun 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-06-27 - PeterThoeny
 
  • 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.