Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11084

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 3.1.0-a1
    • 3.1.0-dev
    • Other
    • None

      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.

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

              Created:
              Updated:
              Resolved: