Tags:
create new tag
view all tags

Question

I'm not seeing revisions when I edit a topic, though the changes are recorded. I'm also not seeing "Views" get updated in statistics, though the "Saves" is incremented properly.

I suspect a problem with rcs, though the testenv appears to be happy with it. I am getting the following error in the Apache error_log:

rlog: /mindshare/twiki/data/Main/RCS/WebHome.txt,v: No such file or directory

I have not found a related article in this section, so I'm hoping a user can spot or suggest the problem.

  • TWiki version: r1.1
  • Web server: Apache 1.3.20
  • Server OS: Solaris
  • Web browser: IE
  • Client OS: Windows

-- RalphBroom - 05 Oct 2001

Answer

In regards to "Views" not getting updated in statistics, you need to enable $doLogTopicView in TWiki.cfg.

Not sure what is wrong with RCS. Is $useRcsDir in TWiki.cfg set to "0"? In case not you need to create an RCS sub-directory below each Web directory and move all .txt,v into those sub-directories. Default is "0", e.g. data files and .txt,v files are located in the same Web directory.

-- PeterThoeny - 06 Oct 2001

Question

My TWiki seems to be suffering from the same problem, except my error_log shows:

ci: %FILENAME%: No such file or directory

Again, stuff is getting saved, but no history is being maintained. This problem surfaced recently, after months of smooth operation -- probably when I applied the RcsNonStrictLocking patch. (I have checked my patching for errors but haven't found anything.)

$useRcsDir is 0.

  • TWiki version: 01 Sep 2001
  • Web server: Apache/1.3.20 (Darwin)
  • Server OS: Mac OS X 10.1
  • Web browser: Mac Internet Explorer
  • Client OS: Mac OS 9

-- JonReid - 28 Nov 2001

Answer

I re-installed TWiki.cfg and Store.pm. The problem did not seem to go away at first -- altering a topic did not bump up the revision on the first try. But it did on the second try. It seems that because of the problem, some topics are out of sync with their histories, and TWiki may be sensitive to this. For example, I could view a topic whose meta-data indicated it was revision 1.2, but the history was at revision 1.1. I think the first try brought them back into sync, and everything seems to work after that.

-- JonReid - 30 Nov 2001

Question

I'm also having a problem, where the changes are being saved, but the revision display on the pages always show 1.1 and diffs show only one version.

I'm running on Solaris with Apache web server. The company uses the account "cms" for all CGI scripts. I have permissions and ownership set to 644 and "cms" for all the files in the data area. There are ".lock" files in the same area, with permissions 664 and owner "cms".

In my TWiki.cfg file, I have $useRcsDir = "0". I do, however, see a RCS directory under the "data" area. It is owned by "cms", has permissions 775, and the RCS files in the area contain all the versions from all changes (so I know RCS is working). The permissions are 444, owner is "cms" and the files are locked by "cms".

What do I do, to get the version #ing to work correctly?

-- PaulMichali - 12 Feb 2002

Answer

I found out that if I change TWiki.cfg to have $useRcsDir = "1", that it would now "see" the RCS versions correctly. It appears that because I had an RCS directory in the data area, RCS was using it, but TWiki was abiding by the $useRcsDir variable and was not w.r.t. showing versions.

-- PaulMichali - 12 Feb 2002

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2002-02-13 - PaulMichali
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.