You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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: #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
The text was updated successfully, but these errors were encountered: