Question
- TWiki version: 01 Feb 2003
- Perl version: 5.6.1
- Web server & version: Apache 1.3.27
- Server OS:Windows 2000 SP3
- Web browser & version: OPera 7.0, MSIE 6.0
- Client OS: Windows, Linux, Mac
--
TWikiGuest - 11 Jun 2003
Hi,
I have cruised the supportsite, and am not -quite- sure I have found the answer I am looking for:
I have
RCS running as advised by the cookbook - c:/cygwin/bin.
Diff and changes SEEM to work.
But only seem.
For some reason, I only get changes for the initial 5 changes on the site - i.e:
1) Edit topic
2) save topic
3) hit changes
4) Changes won't update after the fifth change done on the site
The same goes for the diff file - the changes that shipped with the Twiki stay put, but every change made to a page get overwritten by the latest change, thereby only leaving one change open - If that made sense..
I am wondering if it is because of my cpan exit - I am a newbie, and I just typed exit after I'd finished the perrl -pi~~ commands - I got a message stating that the files now had their lock removed.
I don't have any errors in the apache log - neither do I have errors in the twiki log:
Testenv states Warning: Since your CGI script is not running as user nobody, you need to change the locks in the *,v
RCS files of the TWiki distribution from nobody to system. Otherwise, changes to topics will not be logged by
RCS.
However - I just ran $ perl -pi~~~ -e 'NR <=10 && s/system:/adminuser:/'
/,v to make a 100% sure I had the user who was executing rights, and the same happens.
I am planning to use the Twiki as a testcase repository, so change control is pretty important to me.
Thanks for any help :-))
CBY
Answer
You need to wait 1 hour before making a 2nd change when testing, otherwise the 2nd change overwrites the first rather than creating a new revision. There's a TWiki.cfg parameter to control this.
As for the Perl command to edit files - this needs to say
s/nobody:/ since that's what is in the delivered
RCS files. To check the
RCS files, just open them in a text editor or
less, you should see the 'nobody:' part near the top. This only affects the bundled
RCS files, any new files should be fine.
--
RichardDonkin - 12 Jun 2003
Hi Richard,
Thanks for your answer - I still don't get updates in the changelog either, though. And I've waited a day with hitting reload.Is there a parameter that hasnt been set ?
Would it help locate the issue if I upped the cfg file ?
Abouts s/nobody:
I changed s/nobody to system.
Then I changed the ex-nobody, now s/system to the current admin user, just to make sure.
Since I asked the question, I decided to hit a reinstall. It is by the book - and this time I -did- what I was told and havent um... explored;-) more, and did a $ perl -pi~~~ -e 'NR <=10 && s/nobody:/system:/'
/,v .
Still get the same error:
PATH_INFO:
Note: For a URL such as http://mytwiki/bin/testenv/foo/bar
, the correct PATH_INFO is /foo/bar, without any prefixed path components. Test this now - particularly if you are using Apache or IIS, or are using a web hosting provider. The page resulting from the test link should have a PATH_INFO of /foo/bar. (Works)
mod_perl: Not used for this script (mod_perl not loaded)
User: system
Note: _Your CGI scripts are executing as this user.
Warning: Since your CGI script is not running as user nobody, you need to change the locks in the *,v
RCS files of the TWiki distribution from nobody to system. Otherwise, changes to topics will not be logged by
RCS._
The error logs say nada. (As in: No errors)
Also - I'd very much like to work with someone to make the Windows documentation more user-friendly. It took me a few installs to get it right, Cygwin is NOT a friendly little companion to newbies to the UI like me.
Again, thanks for the help
CBY
The testenv message may be bogus - it can't tell whether you have edited your files so it always gives this message on Windows. If you can attach the TWiki.cfg and entire testenv output, as in
SupportGuidelines, that would help. Also it would help to specify exactly what steps you took - some of your steps don't correspond to TWiki steps, e.g. I think step 2 is Preview Changes and step 3 is Save.
Making
WindowsInstallCookbook more friendly would be good, but I think the best idea is a
TWikiUnixInstaller that cuts out most of the steps.
TimDistroDev has some recent discussion.
--
RichardDonkin - 12 Jun 2003
I wasn't aware that the testenv message on Windows could be bogus. That could have saved me at least one re-install
I'm attaching out twikiconfigurationfile and the testenv output.
Thanks for the time-lock tip - I did adjust the settings, and I do seem to get more edits now.
Reconfirming my steps - in non-twiki speak:
1) Edit topic - I add text to Main
2) save topic - I have previewed and saved
3) hit changes - I click Changes in the header bar
4) Changes won't update after the fifth change done on the site - I do not see any updates.
Thanks again:-)
CBY
This is much clearer, thanks - step 4 is probably a non-TWiki issue, i.e. your browser may be caching the
WebChanges page, particularly if you are testing with Opera. Be sure to hit Ctrl/Refresh or Shift/Refresh to reload the page -
BrowserIssues has more info on this.
--
RichardDonkin - 13 Jun 2003
Nope - I know Opera pretty well, it's not the refresh.
Anyway - I cleaned up in all files by throwing in the backups on the config files - it may have been a typo somewhere, because -fingers crossed- it seems to work ok now, maybe it's because I started using authentication ?
And now: Fun with creating a few new webs
Thanks for the help
Cirstyn
--
TWikiGuest - 14 Jun 2003