This question about Installation of Foswiki: Answered

WindowsStrawberryApache Foswiki installation


I've got a second foswiki installed on WinXP and Apache and I've used the FoswikiOnWindowsApacheAndActivePerl directions on the support web with the only exception being that I'm using strawberry perl 5.12 instead of ActivePerl since I seem to be having better luck installing the LDAPContrib dependencies on strawberry perl whereas in ActivePerl I get countless errors.

Problem is, I get up to the point in the directions where you load up the configure page for the first time and I get the following software error:

Software error:

Failed to load the perl module Foswiki::Configure::Load. The module was found at c:/www/foswiki/lib/Foswiki/Configure/

Please ensure that:
   1 Foswiki::Configure::Load is installed,
   2 that the module is available on the @INC path,
   3 that the webserver user (SYSTEM) has permission to read the Foswiki/Configure/ file.
The detailed error seen was:
defined(%hash) is deprecated at c:/www/foswiki/lib/Foswiki/Configure/ line 152.
Compilation failed in require at (eval 34) line 2.
BEGIN failed--compilation aborted at (eval 34) line 2.

I'm not very experienced with perl, can anyone help? Thanks in advance

-- TimMenke - 14 May 2010

This appears to have been fixed in a unreleased update of Foswiki. You might try a newer version of c:/www/foswiki/lib/Foswiki/Configure/ - you can get a more recent version from the source tracker - There is a download link at the bottom, or get it directly here:

The bug report was Tasks.Item1829

-- GeorgeClark - 14 Jun 2010

No - Not fixed. The problem is the statement if (defined %TWiki::cfg) around line 152. Eliminate the word defined. Here is the existing line and it's replacement:
-    if ( defined %TWiki::cfg ) {
+    if ( %TWiki::cfg ) {

This fix has been tested and resolves the issue.

-- GeorgeClark - 14 Jun 2010

QuestionForm edit

Subject Installation of Foswiki
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 14 Jun 2010, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy