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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.2-RC1
    • 3.1.1
    • ACP, Other
    • None
    • - PHP 5.6.1
      - MySQL 5.5.36
      - phpBB 3.1.1
      - win7 x64

      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. feed.zip
          57 kB
        2. functions.zip
          53 kB
        3. screenshot.png
          screenshot.png
          81 kB

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

              Created:
              Updated:
              Resolved: