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

PHP warning in filesystem.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.2.3-RC2
    • 3.2.3-RC1, 3.2.2
    • Other
    • None

      The typo in phpbb/filesystem/filesystem.php causes PHP warning like

      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 146: require(./cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php): failed to open stream: No such file or directory Fatal error: require(): Failed opening required './cache/production/autoload_4335734bbdd20f586549a504dff5f80c.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/bahaiwiki/data/www/xn--80aab4a4d.kz/forum/phpbb/di/container_builder.php on line 146

       

      The problem is here https://github.com/phpbb/phpbb/blob/3.2.x/phpBB/phpbb/filesystem/filesystem.php#L370

      posic_getuid should be posix_getuid.

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

              Created:
              Updated:
              Resolved: