Project

General

Profile

Actions

Feature #21525

closed

No typoscript template found - Addon

Added by Alexander Stehlik about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2009-11-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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 template
2. 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:
  1. 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

tstemplate_charset.diff (3.01 KB) tstemplate_charset.diff Administrator Admin, 2009-11-18 21:27

Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #19657: no typoscript template foundClosedChristian Kuhn2008-11-28

Actions
Related to TYPO3 Core - Bug #21421: slow t3lib_TSparser::parseSubClosedBernhard Kraft2009-11-01

Actions
Related to TYPO3 Core - Bug #21569: Wrong character encoding in cache tables breaks frontend renderingClosedOliver Hader2009-11-16

Actions
Related to TYPO3 Core - Bug #17053: cache is not saved properlyClosedMichael Stucki2007-02-28

Actions
Related to TYPO3 Core - Bug #17091: "No template found" after update from 4.0.4 to 4.1ClosedSteffen Kamper2007-03-07

Actions
Related to TYPO3 Core - Bug #17437: When accessing pages form cache "No Temlpate found!" appearsClosedRupert Germann2007-07-21

Actions
Actions

Also available in: Atom PDF