Tags:
create new tag
view all tags

SID-01674: 5.1.3 - configure is breaking

Status: Answered 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

      Change status to:
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.
SupportForm
Status Answered
Title 5.1.3 - configure is breaking
SupportCategory CategoryInstallation
TWiki version 5.1.3
Server OS Ubuntu 2.6.32
Web server Apache/2.2.14
Perl version v5.10.1
Browser & version Chrome - latest
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2013-05-16 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.