SID-01674: 5.1.3 - configure is breaking
| Status: |
Answered |
TWiki version: |
5.1.3 |
Perl version: |
v5.10.1 |
| Category: |
CategoryInstallation |
Server OS: |
Ubuntu 2.6.32 |
Last update: |
12 years ago |
I managed to configure a fresh (ish) download once, but now when I try to again I receive the following message when clicking "Next" at the bottom of the configure screen.
Unmatched [ in regex; marked by <-- HERE in m/^[ <-- HERE ^\s\*?~^\$@%`/ at /var/www/twiki/lib/TWiki/Configure/Types/REGEX.pm line 55, <DATA> line 1.
Specifically the action I am trying to perform is to add a proxy. i.e. to set the values of {PROXY}{HOST} and {PROXY}{PORT}. But I tried a different kind of change to see if that was the problem and received the same message (setting {EnableEmail} to off).
Firstly, does anyone know what that error message is referring to please?
Secondly, is it fixable? Or should I just download a fresher copy of TWiki and start again?
thanks in advance, Greg
--
Greg Choules - 2013-04-04
Discussion and Answer
Possible issue: Maybe you run into
TWikibug:Item7067
. This has been fixed in your TWiki- 5.1.3 version, but can be an issue if your LocalSite.cfg is from an older version. Manually cleanup the file before running configure. See bug item for detail.
--
Peter Thoeny - 2013-04-05
Thanks Peter. Where are the regex variables stored? I tried looking for recently-modified files and couldn't find an obvious candidate. Re'
LocalSite.cfg I deleted it and started fresh, letting 'configure' itself create a new one and the problem still recurs.
I am going to try 5.1.4 anyway, but still this is bugging me. If I have the same issue with 5.1.4 I will create a new question.
cheers, Greg
--
Greg Choules - 2013-04-05
Again, not sure if the known regex issue is your issue. Edit your Localsite.cfg file and search for
(?^:. If you find
(?^:(?^:SOMETHING)), fix it so that only the
SOMETHING remains.
--
Peter Thoeny - 2013-04-05
I looked again,
TWikibug:Item7109
is most likely your issue. Patch
lib/TWiki/Configure/Types/REGEX.pm or upgrade to TWiki-5.1.4.
--
Peter Thoeny - 2013-04-05
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.