Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11084

Errors taking place early on in startup trigger method calls on undefined objects

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 3.1.0-dev
    • 3.1.0-a1
    • Other
    • None

    Description

      If an error occurs early in the startup process garbage_collection in functions.php will be called without $phpbb_dispatcher defined, so it needs to be called conditionally if the object is not NULL.

      If an error occurs early in the startup process send_status_line() is used before $request is defined. This means that the protocol determination needs to fallback to HTTP/1.0 also if $request is undefined and thus not available for identifying the SERVER_PROTOCOL.

      Attachments

        Issue Links

          Activity

            People

              Oleg Oleg [X] (Inactive)
              naderman Nils Adermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: