We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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 - 22 Apr 2005 - 00:14:12 - JasonPierce
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback