Project

General

Profile

Actions

Bug #16952

closed

Calling "DB Check" -> "Record Statistics" results in many SQL-related errors

Added by Christian Brunner almost 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-02-07
Due date:
% Done:

0%

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

Description

When I call "DB Check" -> "Record Statistics" I get a lot of errors in t3lib/class.t3lib_db.php in lines around 800.

Reason:
The functions "sql_fetch_assoc()" and "sql_fetch_row()" don't check, whether $res is a valid SQL Resource

I got these warnings on PHP Error Level E_ALL

I attached a diff-file that fixed the problem for me

I think this also affects Version 4.0.4 but i'm not sure

MySQL 5.0.22
(issue imported from #M4939)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16961: Sql Error editing BE UserClosedMichael Stucki2007-02-09

Actions
Actions

Also available in: Atom PDF