Tags:
create new tag
view all tags

Question

Hey all. Experiencing a minor problem with rcs in my twiki. From the revision history toolbar on the bottom of the twiki -- comparing two versions of a file works fine, I see the new changes in green, old in red, etc. However, if I click on a particular revision -- say, version 1.12 of a document -- the page that comes back is blank.

Any ideas? It looks like rcs is working ok, as I can diff versions fine, and get a complete history of changes ok as well. Looked at the .txt,v files and saw that the revisions are collecting just fine.

A second small prob I've noticed is revision history on files. Perhaps this is by design, but, if I upload a few versions of a file, and then view the each version of the file on the file-manage page, all the versions are identical.

thx!

Lyle

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win XP
Web server: Apache (newest release)
Perl version: 5.8.1
Client OS: Win XP
Web Browser: IE and Firefox

-- LyleHayhurst - 06 Oct 2004

Answer

Ok, I answered my own question. The problem was in the RcsWrap.pm module.


Line 364 if( $tmpfile and -e $tmpfile ) {


The problem was that the $tmpfile wasn't being created. So simply adding a check to make sure that it exists solved the problem.

Lyle -- LyleHayhurst - 23 Nov 2004

Thanks for the update, Lyle. Is your solution a fix for your first or your second problem?

-- MartinCleaver - 24 Nov 2004

Hey Martin, sorry, should have been more clear; this is a fix for the first problem (selecting versions from the revision history toolbar returning empty pages ).

--Lyle

Same Problem, Solution not Obvious

I am having the same issue as Lyle, but when I tried to apply his fix, I couldn't find the line he mentioned in my RcsWrap.pm, either at the line number, or by searching for the expression. My environment is a bit different, but I'm using the same Twiki release. The problem is identical: I can see revision history, but when I click on the r.1.x link in a page, I just get a blank page with the footer and Edit and Attach crossed out.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, TwikiDrawPlugin, TablePlugin
Server OS: Win 2000 Advanced on VMWare ESX
Web server: Apache 1.3
Perl version: 5.6.1, build 638 (ActiveState)
Client OS: Win 2000
Web Browser: IE6

I have configured Twiki according to the WindowsInstallCookbook, and added domain authentication per the WindowsInstallModNTLM, as well as applying the ntlm-username patch from LoginNameAndNtlm.

Any ideas would be appreciated.

-- MaxGrant - 03 Dec 2004


Max, I just checked RcsWrap.pm; its in the getRevision() method of that module. Please doublecheck at let me know? If you like, email me your copy of RcsWrap to


 s o z i n s k y at g m a i l  dot  c o m 

s/\s+//g, s/at/@, s/dot/\. smile

--Lyle


Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2005-02-02 - PeterThoeny
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.