Bug #20746
closed"TMPL CONDITIONS - ALL" - too Long for 20 Chars cache_hash field size
0%
Description
class.t3lib_tstemplate.php tries to store hash values with 21char String as identifier. Since table definition is for this field is 20 chars, this causes an error (see attached image)
have a look into your cache_hash table, there only the entry "TMPL CONDITIONS - AL" (one missing L) as entry.
The error will be shown, if you have SQL Debug enabled and mysql in strict mode (I don't know what will happen in other databases). I got the error first after installing TYPO3 on a fresh XMAPP package on Windows.
Note:
Other solution would be to change the identifier char, searching for any occurrence of the string:"TMPL CONDITIONS - ALL" was not successful, so it might be used in other places as in the core. If it is not used anywhere, the storing of the hash could also be removed from the core.
(issue imported from #M11513)
Files
Updated by Ingo Schmitt over 15 years ago
Sorry, Bugtracker issued a 500 Server Error
Updated by Michael Stucki over 15 years ago
Fixed in TYPO3_4-2. The problem is solved in a different way already in Trunk, so it won't occur in 4.3 anyway.
Thanks Ingo!
Updated by Michael Stucki over 15 years ago
Just a note: This fixes only the DB scheme definition. In order to apply the change, you need to update the database using Install Tool.
Updated by Michael Stucki over 15 years ago
Additionally, I've now changed the value of "TMPL CONDITIONS - ALL" and cut off the last character so these entries can be written again without changing the database.