-
Bug
-
Resolution: Fixed
-
Major
-
3.1.1
-
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.
- is related to
-
PHPBB-13348 sql_freeresult() should be called in feed base class
- Closed