Tags:
create new tag
view all tags

Question

Why does the FormattedSearch topic ask for http authentication?

-- JasonPierce - 21 Apr 2005

Environment

TWiki version: TWiki Release 02-Sep-2004
TWiki plugins:  
Server OS: Windows XP
Web server:  
Perl version: ActiveState ActivePerl Build 811
Client OS: Windows XP
Web Browser:  
Categories: Platform, Search

-- 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:

Topic revision: r1 - 2005-04-22 - JasonPierce
 
  • 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.