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

phpbb_chmod: Undefined variable: file_uid

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.x
    • 3.0.5
    • Other
    • None
    • PHP Environment: 5.2.6-3ubuntu2
      Database: pgsql 8.3.7

    Description

      On a clean installation of current SVN (r9409), phpbb_chmod produces the following warning:

      [phpBB Debug] PHP Notice: in file /includes/functions.php on line 581: Undefined variable: file_uid

      The warning appears on every page where phpBB tries to access a cache file which doesn't exist (e.g. in case the cache is empty). When calling the same page a second time, the warning no longer appears. However, after having purged the cache, the warning shows up again.

      When taking a look at phpbb_chmod, the variable $file_uid is indeed undefined in line 581 in case the preceding chown call (line 567) has failed.

      Attachments

        Activity

          People

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Schumi Schumi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: