thanks for helping me but the following code is not available in config.local.php
[color=#008800]'allow_php_in_templates'[/color][color=#000000] [/color][color=#666600]=>[/color][color=#000000] [/color][color=#000088]false[/color][color=#666600],[/color][color=#000000] [/color][color=#880000]// Allow to use {php} tags in templates[/color]
I think this used to be in 2 different places depending on the version. I think it used to be at the bottom of config.local.php and I think it might have been in config.php
You should have something in one of those files like:
$config['tweaks'] = array (
There should be a list of tweaks. Just add this one to that list:
'allow_php_in_templates' => true, // Allow to use {php} tags in templates