My fault. Should have checked more carefully. Had been hoping to eliminate requiring a whole bunch of code before it's decided whether the indexer should run. Have attached a patch that moves that require above the call to cleanID - not the most efficient solution though. On 10/15/05, Joe Lapp <joe.lapp@xxxxxxxxx> wrote: > Okay, it appears to me that exe/indexer.php is calling cleanID() before the > require_once that loads inc/pageutils.php. The following code: > > $ID = cleanID($_REQUEST['id']); > if(!$ID) indexer_stop(); > > Precedes the code which results in loading pageutils.php: > > require_once(DOKU_INC.'inc/indexer.php'); > > Is this a bug, or am I missing something? > > ~joe > > >From: "Joe Lapp" <joe.lapp@xxxxxxxxx> > > I just did a clean install, but I'm getting this error message: > > > > PHP Fatal error: Call to undefined function: cleanid() in > > /var/www/html/friendsofspiders/wiki/lib/exe/indexer.php on line 51 > > > > Okay, my install isn't entirely clean. I did a darcs pull into my code > > base, which includes a few mods having nothing to do with indexing, and > > uploaded everything to a new site. > > > > Anyone know exactly what to do, or should I track this down? > > > > ~joe > -- > DokuWiki mailing list - more info at > http://wiki.splitbrain.org/wiki:mailinglist > >