[dokuwiki] Re: 'Search' times out and does not return results

  • From: "Childs, Jeffrey" <Jeffrey.Childs@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 6 Sep 2005 18:38:39 -0400

 


Dave,

Thanks for the patch.

Unfortunately, it didn't seem to help in this case. Thanks.

Jeff


-----Original Message-----
From: ddoyle@xxxxxxxxxxxxxxxx [mailto:ddoyle@xxxxxxxxxxxxxxxx] 
Sent: Tuesday, September 06, 2005 2:56 PM
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] Re: 'Search' times out and does not return results

Hello, 

Long time listener, first time caller.  Love me some dokuwiki.

I've submitted a patch concerning this.  Not sure if I've done it right or
if Andi can use it but it worked on my Win32/Apache setup.

Basically the php builtin rename() function wasn't working on my system.
For me changing the following worked:

hunk ./inc/indexer.php 151
-    return rename($conf['cachedir'].'/index.tmp',
-                  $conf['cachedir'].'/index.idx');
+    if(copy($conf['cachedir'].'/index.tmp',
+            $conf['cachedir'].'/index.idx')){
+        unlink($conf['cachedir'].'/index.tmp');
+        return true;
+    }
+    else{return false;}

Hope that's all good.

Thanks,
Dave


-----Original Message-----
From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx]
On Behalf Of Childs, Jeffrey
Sent: Tuesday, September 06, 2005 4:50 PM
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] Re: 'Search' times out and does not return results



Andi,

I just tried that, with the dokuwiki-2005-09-06.tgz snapshot. It didn't time
out, but it didn't return anything either. Point in fact, the Search didn't
work *at all*. 


Jeff

-----Original Message-----
From: Andreas Gohr [mailto:andi@xxxxxxxxxxxxxx]
Sent: Tuesday, September 06, 2005 1:33 PM
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] Re: 'Search' times out and does not return results

On Tue, 6 Sep 2005 15:59:14 -0400
"Childs, Jeffrey" <Jeffrey.Childs@xxxxxxxxxxxx> wrote:

> Hello, I have the latest version of dokuwiki installed and running on 
> my Windows XP machine (using Apache). Whenever I attempt to use 
> DokuWiki's 'Search', it does not return any results. I can type in a 
> word that I know is in one of my documents, but the search times out

:-) Either upgrade to the devel version or wait for the next release.
The new search uses an index wich is much faster.

Andi

--
http://www.splitbrain.org
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: