[TYPO3-english] Fluid variables are not parsed, variable name display as text

Philipp Gampe philipp.gampe at typo3.org
Fri Sep 14 23:57:53 CEST 2012


Hi B. Kausch,

B. Kausch wrote:

> Could the described behaviour be a result of a incompatibility
> between typo 4.5 and PHP 5.4? Or is it something else? Because
> I'm at a loss, really. The typoscript is parsed, the page object
> loaded, the fluidtemplate object too. Only the variables in the
> fluidtemplates won't be identified as such...

There are many problems with PHP 5.4 and old or wrong (but working) code in 
TYPO3. Most likely some kind of argument mismatch that silently worked or 
method invocation that can not happen at the calling point might be the 
problem. I fear you can only try to debug this.

BTW, I am aware of a list two lines in the TYPO3 code that have not been 
modified since the initial commit back in 2003, but break with PHP 5.4, 
because they contain a mistake. PHP 5.4 is much more strict about stupid 
mistakes than privious PHP versions. Just to finnish the example, the 
breaking code was an array access like $arr['key']['key'] while the second 
['key'] is a mistake by the programmer - worked in PHP <5.4, but breaks 
badly on 5.4.

Cheers
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!



More information about the TYPO3-english mailing list