-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
3.2.x, 3.3.x
-
phpbb 3.2
php-fpm 7.2
Sphinx 2.2.11
Hi there,
When we use Sphinx, on Titania advanced search it result notices and error when it shown results.
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 500: Undefined index: title
|
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 502: Undefined index: text
|
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 503: Undefined index: text_uid
|
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 504: Undefined index: text_bitfield
|
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 505: Undefined index: text_options
|
[phpBB Debug] PHP Notice: in file [ROOT]/ext/phpbb/titania/controller/search.php on line 507: Undefined index: url
|
Some mandatory parameters are missing ("id") to generate a URL for route "phpbb.titania.queue.item".
|
After investigation, this is due to the value 20000000 added to the post_id on Sphinx.
But when ids are parsed to get_posts() (on controller/search.php) they are parsed with the Sphinx format and It results messages quoted above.
I don't know if the value 20000000 is mandatory for Sphinx. But I found a workaround for this issue. I will suggest a PR.