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

PHP fatal error while installing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.3-RC1
    • 4.0.0-a1, 3.3.3-RC1
    • Installation system
    • None

      Installation causes PHP fatal error:

      PHP Fatal error: Illegal use of $_SERVER. You must use the request class to access input data. Found in [ROOT]\phpbb\di\container_builder.php on line 621. This error message was generated by deactivated_super_global. in [ROOT]\phpbb\request\deactivated_super_global.php on line 67

       

      The cause is calling protected function get_env_parameters() in container builder constructor while superglobals are not yet enabled [ROOT]\phpbb\install\helper\container_factory.php.

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: