Feature #21525
closedNo typoscript template found - Addon
0%
Description
I had the same issue that was described in bug #19657.
Im using the current trunk of TYPO3 4.3 (Revision 6398).
My Database is utf8 and I have forceCharset to utf-8. My setDBinit is set to "Set NAMES utf8". The umlauts are displayed correctly in phpmyadmin, TYPO3 Backend and Frontend.
This is a problem with umlauts in external template files that are encoded in ISO-8859-1. If the external files are encoded in utf-8 everythings working fine.
This is how you can reproduce it:
1. Create two new pages and a new template2. Put the following Code into your temlate:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/path/to/external/setup.txt">
3. Create this file with an ISO-8859-1 encoding and put this in:
- Default PAGE object:
page = PAGE
page.10 = TEXT
page.10.value = öäü
3. Clear all cache
4. Go to the first page you created (3 unreadable chars will be displayed)
5. Go to the second new page by typing in the id as parameter
=> You get the "No TypoScript template found!" error
I did some research and found out, that the serialization of the cache content in the database (in table cache_hash) gets interrupted on those special chars. The text ends with something like:
{s:5:"value";s:18:"
You notice the missing closing quote and bracket.
Hope this help ;)
Cheers,
Alex
(issue imported from #M12549)
Files