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

missing exception in function filelist()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.6
    • 3.0.4
    • Other
    • None
    • PHP Environment: 5.2.0-8+etch13
      Database: 5.0.32

      I recently moved my installation to another server.
      I tried editing a template, but only the admin header was displayed and I received the following error messages:

      [phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 784: array_diff() [function.array-diff]: Argument #1 is not an array
      [phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 844: Invalid argument supplied for foreach()

      I set recursively set all files in /styles/ to 755 and the error disappeared.

      The function filelist() in functions_admin.php does not return any error if the directory isn't readable. I'd recommend that.

            bantu Andreas Fischer [X] (Inactive)
            tilli tilli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: