NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10883: Windows-safe paths
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
Configure, Documentation, PlatformWindows |
|
As described in
http://foswiki.org/Support/Question873, configure can fail. The cause was ...
$foswikiLibPath = "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\wiki\lib";
in
LocalLib.cfg caused
TemplateParser to fail.
Changing the Windows backslashes to forward slashes got rid of the error when running configure. Might be nice if that condition was detected and an error message was given (or detect and be compatible with Windows paths). I suspect my mistake would be quite common in Windows installations!
--
BeS - 15 Jun 2011
Babar pointed out that use of single quotes prevents the backslash from being interpreted as an escape. So using single quotes in the example might also avoid the issue.
--
GeorgeClark - 25 Aug 2011