Bug #39509

t3lib_db - expects parameter 1 to be resource, boolean given

Added by Michael Klapper about 10 years ago. Updated almost 10 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

#1

Updated by Gerrit Code Review about 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13438

#2

Updated by Gerrit Code Review about 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13438

#3

Updated by Gerrit Code Review about 10 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13438

#4

Updated by Gerrit Code Review about 10 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13439

#5

Updated by Michael Klapper about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13440

#7

Updated by Gerrit Code Review about 10 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13441

#8

Updated by Michael Klapper about 10 years ago

  • Status changed from Under Review to Resolved
#9

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13681

#10

Updated by Helmut Hummel almost 10 years ago

  • Status changed from Under Review to Closed

Also available in: Atom PDF