Tags:
create new tag
, view all tags

Question

I have a fresh install of Twiki on a server I have full access to. I have gotten config to zero errors and 2 warnings. When I try to edit a page and save it, I get errors. Using RCSWrap I get: During save of WebPreferences an error was found by the version control system. invalid string argument 'Roger' %USERNAME|S%

Using RCSLite I get: During save of WebPreferences an error was found by the version control system. illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main/WebPreferences.txt,v

I am tried both and can't get either to work. If someone has any ideas on what to try for either or both settings I would really appreciate it. BTW, I am using apache basic auth and Twiki seems to recognize my name 'Roger'.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003
Web server: Apache 2.2
Perl version: Active State 5.8
Client OS: Windows XP
Web Browser: IE
Categories: Installation

-- RogerBos - 11 Oct 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I checked the warning logs and all my problems are based on line 140 of sandbox.pm, but that alone does not help me bebug this problem. Since I am new to Twiki I could really use some help here. Here is a sampling of the warnings:

| 11 Oct 2006 - 10:02 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main//WebPreferences.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 10:04 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki/WebNotify.txt,v at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 10:04 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki/WebNotify.txt,v at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 11:40 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main//WebPreferences.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 11:42 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main/TWikiUsers.txt,v at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 12:01 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki/WebHome.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 12:01 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki/WebHome.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 12:04 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main//WebPreferences.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 13:02 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Main//NobodyGroup.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 15:13 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki//ATasteOfTWiki.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 15:13 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/TWiki//ATasteOfTWiki.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

| 11 Oct 2006 - 15:20 | illegal characters in file name component Program Files of filename F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/data/Sandbox//PluginTestEmptyPlugin.txt at F:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Twiki/lib/TWiki/Sandbox.pm line 140.

-- RogerBos - 12 Oct 2006

As described in the best Windows install cookbooks, you are not allowed to use spaces in the path to your TWiki installation. You can use the Windies 8-character normalised form instead e.g. F:/progra~1/... Fix all the paths in configure.

-- CrawfordCurrie - 13 Oct 2006

There's an issue with 3.2.3, where in the LocalSite.cfg, the NameFilter entry contains the ~ character. This causes you not to be able to save ANYTHING in that version of TWiki if you're using shortnames.

-- GeorgeSidor - 2009-09-28

I had to remove the ~ character from the NameFilter entry in LocalSite.cfg to get my 4.3.2 version to save proplerly under Windows. Note, I had the Twiki version wrong in my previous comment.

-- GeorgeSidor - 2009-09-28

 
Change status to:
Topic revision: r4 - 2009-09-28 - GeorgeSidor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.