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
Duplicate
FS#1047 bin/indexer.php complains when a page hasn't been visited
Backend
2007-01-13orion
bin/indexer.php has the following error when run on a site where I have not visited the wiki:syntax page
Warning: join(): Bad arguments. in (dokuwiki path)/inc/indexer.php on line 72
Tracing the problem back to inc/parserutils.php, we see that around line 236 in the p_get_metadata function, we render the metadata on a file provided that the metadata doesn't exist and $render is true. However, when indexer.php calls this, $render has the default value of false. Therefore no .meta file gets created (verified by looking in the meta directory) and the function doesn't return an array. Then join complains back in indexer.php.
Visiting the wiki:syntax and wiki:dokuwiki pages, of course, generates the .meta file and then everything is happy.
2007-01-16ChrisS
Line number doesn't match with 2006-11-06 code. Do you have any customisations?
I believe actual line number should be 56, in which case its a duplicate of FS#978 and has been fixed in devel.
2007-01-16orion
Yes, you're right on all accounts. The line number should be 56, and the latest daily snapshot (16 Jan 2007) seems to correctly generate the meta files and index them.
I had modified the indexer to also include comments from Esther's discussion plugin. That's why my line numbers were off.
[Offtopic] is there some sort of index hook so I don't have to modify the inc/indexer.php file to index plugin content, like the discussion comments, along with a page?