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
--
RickMach - 25 Jun 2006
Answer
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