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

PHP notice/warning on installation

XMLWordPrintable

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

      While performing installation, PHP notice (for PHP < 8.0) or warning (for PHP 8+) is thrown:
      [phpBB Debug] "Constant PHPBB_ENVIRONMENT already defined" in file [ROOT]\config.php on line 15

      The cause is: installation system starts smoothly, then performs create_config_file task at some point and then starts throwing error on redefining the constant twice. The second definition is in install/app.php.

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

              Created:
              Updated:
              Resolved: