customisation-db icon indicating copy to clipboard operation
customisation-db copied to clipboard

Mandatory parameter "id" is missing to generate a URL for route "phpbb.titania.queue.item"

Open battye opened this issue 1 year ago • 0 comments

Type: Bug Status:PATCH AWAITING REVIEW Priority: Blocker Resolution: Unresolved Affects Version/s: 3.2.x, 3.3.x Fix Version/s: None Labels: search Environment: phpbb 3.2 php-fpm 7.2 Sphinx 2.2.11 GitHub Pull Request URL: https://github.com/phpbb/customisation-db/pull/353

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.

Reporter: Skouat Created: 15/Feb/21 12:43 AM

battye avatar Sep 23 '23 09:09 battye