Project

General

Profile

Actions

Bug #39509

closed

t3lib_db - expects parameter 1 to be resource, boolean given

Added by Michael Klapper over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The method t3lib_db::debug_check_recordset should use is_resource to be sure we have a proper database resource object.

Core: Error handler (FE): PHP Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in typo3_src/t3lib/class.t3lib_db.php line 981
Core: Error handler (FE): PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in typo3_src/t3lib/class.t3lib_db.php line 950

Actions

Also available in: Atom PDF