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
Not a bug
FS#1169 bin/indexer.php doesn't work
Backend
2007-06-25jirisrba
Hi
PHP script bin/indexer.php can't be executed from the Unix commandline. Starting is prevented the the 3rd line
if ('cli' != php_sapi_name()) die();
where php_sapi_name() is returning the string 'cgi' not a 'cli'.
Workaround: comment this 3rd line.
Have a nice day,
Jiri Srba
2007-06-25jirisrba
Dokuwiki verison: rc2007-05-24
2008-02-15andi
you are calling it with the CGI version of PHP. It is supposed to be called by the commandline version.