Project

General

Profile

Actions

Bug #18945

closed

Warnings when using MySql 4.0

Added by Stefan Geith over 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-06-13
Due date:
% Done:

0%

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

Description

If MySql < 4.1 is used, your get many warnings for class.t3lib_db.php on line 1047

MySql before 4.1 does not support query('SHOW CHARACTER SET').
The function admin_get_charsets() was added to t3lib_db with Typo3 4.2.
Removing this Warning is easy: simply check for resource:
1047: if ($columns_res) while ($row = mysql_fetch_assoc($columns_res)) {

At least all 1+1 managed servers only support MySql 4.0 (not 4.1 nor 5.0).
The support-center of 1+1 states: no update to 4.1 or 5.0 before end of 2008.

I think Typo3 4.2 and 4.3 should still be able to use MySql 4.0

I am not sure what side-effects we get, if admin_get_charsets returns an empty array. Where mights this lead to complications ?

(issue imported from #M8697)


Files

0008697-mysql40.patch (472 Bytes) 0008697-mysql40.patch Administrator Admin, 2008-06-13 09:28
8697a-mysql40.patch (542 Bytes) 8697a-mysql40.patch Administrator Admin, 2008-06-13 09:59

No data to display

Actions

Also available in: Atom PDF