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

Can not access ACP "manage group" page while creating new groups

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • ACP
    • None

    Description

      [phpBB Debug] PHP Warning: in file [ROOT]/includes/avatar/manager.php on line 182: array_combine() [function.array-combine]: Both parameters should have at least 1 element
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/avatar/manager.php on line 182: array_combine() [function.array-combine]: Both parameters should have at least 1 element

      The problem is, that $row is empty for new groups, so array_key and array_value don't have any elements and the combine fails

      Adding

      		if (empty($row))
      		{
      			return array();
      		}

      helps for the combine problem. However then you receive:

      [phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_groups.php on line 542: Undefined index: avatar_type
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1383: Undefined index: avatar
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1384: Undefined index: avatar_width
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1385: Undefined index: avatar_height
      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1389: Undefined index: avatar_type

      So more stuff needs to be fixed

      Attachments

        Activity

          People

            EXreaction EXreaction [X] (Inactive)
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: