Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
battye opened this issue Sep 23, 2023 · 0 comments

Comments

@battye
Copy link
Member

battye commented Sep 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant