Project

General

Profile

Actions

Bug #17270

closed

Conflict with Install-Tool [FE][addRootLineFields],[SYS][multiplyDBfieldSize],[BE][forceCharset]

Added by Sareen Millet almost 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2007-05-01
Due date:
% Done:

0%

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

Description

When previous to the Installation of TemplaVoila the following fields are changed in the InstallTool it will cause RealURL to crasch:
[BE][forceCharset] = utf-8
[SYS][multiplyDBfieldSize] = 3
[FE][addRootLineFields] = subtitle,author,keywords,description

The Error shown by the ExtensionManager is:
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\t341final\t3lib\class.t3lib_install.php on line 393

I don't know which of these three changes in the InstallTool made the crash, but it happened severel Times. I guess it's the last change ([FE][addRootLineFields] = subtitle,author,keywords,description) cause TemplaVoila adds ",tx_templavoila_ds,tx_templavoila_to,tx_templavoila_next_ds,tx_templavoila_next_to,tx_realurl_pathsegment,tx_templavoila_ds,tx_templavoila_to,tx_templavoila_next_ds,tx_templavoila_next_to,tx_realurl_pathsegment" there. - and this seams not to work propperly.

(issue imported from #M5544)


Files

5544_v4.1.patch (1.49 KB) 5544_v4.1.patch Administrator Admin, 2007-05-29 13:47
Actions #1

Updated by Aobara BlazingBlade almost 17 years ago

This is not a problem for templavoila but a common problem.

When the value [SYS][multiplyDBfieldSize] multiplied by vercher's limit number defined in a field exceeds 255, the sentence about the key definition is checked and modified if neccesarry.

In this case the value [SYS][multiplyDBfieldSize] is 3 and the given verchar limit number of either tx_templavoila_ds or tx_templavoila_next_ds is 100, then the check is applied.

You know a field usually does not have any definition about key when it is added to an existing table. Nevertheless the check is applied.

So what we should do is only to filter it.

Actions #2

Updated by Dmitry Dulepov almost 17 years ago

Warning: the patch is not in unified diff format!

Actions #3

Updated by Christian Kuhn about 15 years ago

Resolved, won't fix:

- Fix / upgrade mysql
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['multiplyDBfieldSize'] is deprecated

More reading:
- Search for "multiplyDBfieldSize" in this bugtracker (with view status "any")
- http://wiki.typo3.org/index.php/UTF-8_support
- http://lists.netfielders.de/pipermail/typo3-team-core/2006-March/003739.html

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF