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
--
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