Question
Why does the
FormattedSearch topic ask for http authentication?
--
JasonPierce - 21 Apr 2005
Environment
--
JasonPierce - 21 Apr 2005
Answer
After getting Windows XP/ActivePerl/native
RCS/Cairo working, I found that this topic just wouldn't work. This was odd considering NT authentication was turned on and I never should have gotten an http auth popup.
It turns out it was part of one of the SEARCH examples that did this:
%CALC{$SET(weekold, $TIMEADD($TIME(), -7, day))}%
%SEARCH{ "." scope="topic" regex="on" nosearch="on" nototal="on" order="modified"
reverse="on" format="$percntCALC{$IF($TIME($date) < $GET(weekold), <nop>,
| [[$topic]] | $wikiusername | $date | $rev |)}$percnt" limit="100" }%
The $TIME($date) was for some reason breaking after the 21st item. I still don't fully understand why that is exactly, but I tracked it down to a bug in Time::Local under Windows. This may or may not affect cygwin installations.
This is fixed in the lastest version of Time::Local.
You can get the latest version of Time::Local at
Here is some official info about the problem: