Dave, That did it! Once I setup the acl, I ran the indexer plugin. I ran into the exact problem you described in your original posting. I applied your fix, and presto, the indexing completed. Note that I did *not* have to copy the script.js to the end of tw-sack.js. I tried it first without that step, and it completed successfully. Searches now function correctly. Thanks for your help! Jeff __________________________________ Jeff Childs Technical Project Manager Horizon Meds Manager McKesson Provider Technologies Office - 250.951.2224 Fax - 250.951.2253 Mobile - 541.915.7622 jeffrey.childs@xxxxxxxxxxxx Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message -----Original Message----- From: ddoyle@xxxxxxxxxxxxxxxx [mailto:ddoyle@xxxxxxxxxxxxxxxx] Sent: Tuesday, September 06, 2005 4:13 PM To: dokuwiki@xxxxxxxxxxxxx Subject: [dokuwiki] Re: 'Search' times out and does not return results Hi Jeff, After I had done the patch of indexer.php I still had trouble with the searchindex plugin. I did the following (and then did a darcs revert afterwords to remove the changes... because this is messy) to get a full index to go: * ensure your acl is setup and you're logged in as the superuser * copy the contents of lib/plugins/searchindex/script.js to the end of lib/scripts/tw-sack.js (I know, horrible, but I just wanted this to work once) (the searchindex plugin's script.js file wasn't being included in the page and this was the fastest way for me to fix it... i don't know if this is my fault or not) * click on the "admin" button * click on "Searchindex Manager" * click on "rebuild index" and wait patiently That generated my index for me and all works well. Apologies if I gave someone a stroke with my temporary hack and slash fix. Thanks, Dave -----Original Message----- From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] On Behalf Of Childs, Jeffrey Sent: Tuesday, September 06, 2005 6:39 PM To: dokuwiki@xxxxxxxxxxxxx Subject: [dokuwiki] Re: 'Search' times out and does not return results 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 -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist