Uploaded image for project: 'Customisations Database'
  1. Customisations Database
  2. CUSTDB-813

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Patch Awaiting Review
    • Blocker
    • Resolution: Unresolved
    • 3.2.x, 3.3.x
    • None
    • phpbb 3.2
      php-fpm 7.2
      Sphinx 2.2.11

    Description

      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.
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Skouat Skouat
            Archiver:
            DavidIQ David Colón

            Dates

              Created:
              Updated:
              Archived: