This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#2646 indexer.php doesn't finish loading
Backend
2012-10-21Cliefeux
I think that there is a bug in indexer.php:
line 27: if(!$output) ob_start();
...
line 40: if($defer) sendGIF();
line 42: if(!$output) ob_end_clean();
In function sendGIF:
line 274: print $img;
$img is never send to the client and indexer.php will never finish loading.
2012-10-21Michitux
Hm, I think you are right, at least for the cases when $defer is true. We hope of course that $defer is false in most cases. I propose this patch:
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index 1ccede9..d03ee80 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -37,9 +37,12 @@ if ($evt->advise_before()) {
runTrimRecentChanges(true) or
$evt->advise_after();
}
-if($defer) sendGIF();