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

Memberlist is getting overloaded with redundant SQL queries

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0-RC6
    • Fix Version/s: 3.1.0
    • Labels:
      None

      Description

      On memberlist page with the stock 25 members the page loads more than 100 SQL queries (f.e. 113 for area51 board currently).
      This is due to the can_receive_pm check in phpbb_show_profile() function (includes/functions_display.php) which adds 4 queries per user to determine if the user can receive PM to show "Send private message" link in user profile.
      Although, for memberlist this is not used.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              rxu Ruslan Uzdenov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development