create new tag
, view all tags

SID-02252: Software Error

Status: Asked Asked TWiki version: 5.0.1 Perl version: 5.8.8
Category: CategoryPlugins Server OS: Redhat 5.6 Last update: 1 year ago

I m receiving the below error on /bin/configure

I tried upgrading plugin Spreadsheet manually once the installer started running the twiki software is throwing me the below mentioned error.

Argument "" isn't numeric in numeric lt (<) at /var/www/html/wiki/lib/TWiki/Configure/Checkers/Sessions/ExpireAfter.pm line 36

Can you please help me to fix this issue.

-- Sriharsha Panja - 2016-09-26

Discussion and Answer

It seems that your TWiki configuration somehow got out of order... If you have a backup of a working configuration file (that would be /var/www/html/wiki/lib/LocalSite.cfg at your site), compare the backup file with the current settings. There's one simple thing to check:

  1. Go to TWiki's configuration interface
  2. Check "Yes, I've read all the documentation" - this makes the "expert" settings visible
  3. In the Security section, there's a subsection Sessions which contains a setting for {Sessions}{ExpireAfter}.
  4. Make sure there's a numeric value in this field. TWiki's default is 21600 (six hours).

While looking into this I found a quirk in the configuration interface (probably harmless): After changing the value with configure, you'll see

  • $TWiki::cfg{Sessions}{ExpireAfter} = '21600';
Actually, it should read:
  • $TWiki::cfg{Sessions}{ExpireAfter} = 21600;
...but Perl will do the appropriate conversion on the fly.

-- Harald Jörg - 2016-09-26

Hello Harald,

Thanks for your reply on my issue.

I have tried the steps mentioned above, but i cannot found the "Security section" in my configure page.

All i can see is only 2 tabs 1. Environment Variables(Read only) 2. CGI Setup (Readonly).

and next to it is "Software error: Argument "" isn't numeric in numeric lt (<) at /var/www/html/wiki/lib/TWiki/Configure/Checkers/Sessions/ExpireAfter.pm line 36.

Best Regards, Sriharsha Vardhan

-- Sriharsha Vardhan - 2016-10-10

Oh - this indicates that your TWiki configuration file is totally broken.

To repeat: If you have a backup of a working configuration file (that would be /var/www/html/wiki/lib/LocalSite.cfg at your site), compare the backup file with the current settings.

In any case, have a look at /var/www/html/wiki/lib/LocalSite.cfg and the setting for $TWiki::cfg{Sessions}{ExpireAfter}. If it is "", change it to 21600 and retry configure.

-- Harald Jörg - 2016-10-10

      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.
Status Asked
Title Software Error
SupportCategory CategoryPlugins
TWiki version 5.0.1
Server OS Redhat 5.6
Web server Apache/2.2.3
Perl version 5.8.8
Browser & version Explorer 11
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2016-10-10 - HaraldJoerg
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.