Tags:
create new tag
, view all tags

Question

I have recently configured a TWiki which seems to be working correctly for the most part. However, when I try to edit a page I get this error:


Error saving topic During save of Main an error was found by the version control system. Please notify your TWiki administrator. =/c/cygwin/bin/ci -x,v -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of /twiki/data/Main/WebHome.txt failed: =

Go back in your browser and save your changes locally.


Even though I receive the error, if I hit back on the browser, my change shows up. After spending tons and tons of time trying to figure out what the problem was, I narrowed it down to the SafeENVPath. It is set to '/cygdrive/c/CYGWIN/bin;/cygdrive/c/WINDOWS/system32'when I change it from that to 'c:/cygwin' or anything else, I can make edits perfectly fine. However, if it is set to something different then I originally had it, the revision history does not work. When I click on a previous revision I get this error message:

'Content-type: text/plain TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Insecure directory in $ENV{PATH} while running with -T switch'

I have tried a million different things and I can't think of anything else to do. If you have any suggestions I would be much appreciated.

Thanks,

Eric

Environment

TWiki version: 4.0.2
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows Server 2003
Web server: Apache 1.3
Perl version: 5.8.7
Client OS: Windows XP SP2
Web Browser: Internet Explorer
Categories: Installation, Version control, Missing functionality, Fatal error

-- EricSestak - 24 May 2006

Answer

I'm sorry, I don't know much about TWiki on Windows, but for a quick hack you could try simply removing the -T switch (it is in the top line of each script, i.e. "view", "rdiff" etc in /bin.

-- SteffenPoulsen - 16 Jun 2006

 
Topic revision: r4 - 2006-06-16 - SteffenPoulsen
 
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.