00552: *RecentChanges files keep only the first change made ever
Description: RecentChanges of any group shows only the first change ever made; same for the AllRecentChanges.
Consulted the mailing list, but didn't get any clues.
Initially ran PMWIKI 2.0.0, saw the problem.
Updated to PMWIKI 2.0.10, the problem still there.
Tried removing all *RecentChanges files, didn't help, still got the one new change and no more changes in any *RecentChanges files.
Here is my Site.AllRecentChanges if that could help:
version=pmwiki-2.0.10 ordered=1 urlencoded=1 agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1. 0.4-4 Firefox/1.0.4 host=192.168.0.10 name=Site.AllRecentChanges rev=20 text=* Main.WikiSandbox . . . September 30, 2005, at 07:12 PM by dino?:
If I change a line in the PostRecentChanges function, recent changes start working.
The change is in the line# 1149 from:
$rcelim = preg_quote(preg_replace("/$RCDelimPattern.*$/",' ',$pgtext),'/');
$rcelim = preg_quote(preg_replace("/$RCDelimPattern/",' ',$pgtext),'/');
Looks like the original line was killing my change before it was added to the file or something like that. I don't understand how this works for everyone else?!
Can anyone comment on what's the purpose of the original line? Is my change safe? Should it be done differently?