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

Use mysql_free_result to free result sets which were requested using mysql_query()

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2-RC1
    • Component/s: ACP, Other
    • Labels:
      None
    • Environment:
      - PHP 5.6.1
      - MySQL 5.5.36
      - phpBB 3.1.1
      - win7 x64

      Description

      MYSQL warning is displayed in ACP and also in ATOM Feed:

      Use mysql_free_result to free result sets which were requested using mysql_query()

      Appending such error to ATOM Feed causes FEED not to work on most readers.

      Also - error is printed although DEBUGs are not enabled in config.

      I fixed displaying the error by changing functions.php:

      if (defined('DEBUG'))

      { echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n"; }

      But still problem is that MySQL warning is present.

      1. screenshot.png
        81 kB

        Issue Links

          Activity

          Hide
          zuber zuber [X] (Inactive) added a comment -

          Checked 3.1.4 - problem still persists

          Show
          zuber zuber [X] (Inactive) added a comment - Checked 3.1.4 - problem still persists
          Hide
          Marc Marc added a comment -

          I have tested this on vanilla phpBB and I'm unable to reproduce this issue on 3.1.4. Please elaborate on the exact steps required to reproduce this issue.

          Show
          Marc Marc added a comment - I have tested this on vanilla phpBB and I'm unable to reproduce this issue on 3.1.4. Please elaborate on the exact steps required to reproduce this issue.
          Hide
          zuber zuber [X] (Inactive) added a comment -

          I just enter ACP and on the bottom of the page I see:

          "Use mysql_free_result to free result sets which were requested using mysql_query()".

          RSS Feeds works OK now.

          Show
          zuber zuber [X] (Inactive) added a comment - I just enter ACP and on the bottom of the page I see: "Use mysql_free_result to free result sets which were requested using mysql_query()". RSS Feeds works OK now.
          Hide
          Marc Marc added a comment -

          Do you have any extensions installed? If yes, please post a list of them here.

          Show
          Marc Marc added a comment - Do you have any extensions installed? If yes, please post a list of them here.
          Hide
          zuber zuber [X] (Inactive) added a comment -

          No extensions at all. I have only modified LDAP.php to support my infrastructure.

          Show
          zuber zuber [X] (Inactive) added a comment - No extensions at all. I have only modified LDAP.php to support my infrastructure.

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              zuber zuber [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development