From: Katharina W. <wol...@fh...> - 2012-09-21 09:07:07
|
Hi all, after upgrading to current version of public trunc I get the following error when clicking on the search-button (or any other link) from our vufind-homepage. Fatal error: Smarty error: [in header.tpl line 34]: syntax error: unrecognized tag 'displayLanguageOption' (Smarty_Compiler.class.php, line 590) in /usr/share/php5/PEAR/Smarty/Smarty.class.php on line 1093 Since we're using a different header-version for the vufind-homepage, which doesn't produce this error, we were able to replace the offending foreach-statement in web\interface\themes\blueprint\header.tpl with the working code from our header.hp.tpl: {* {foreach from=$allLangs key=langCode item=langName} <option value="{$langCode}"{if $userLang == $langCode} selected="selected"{/if}>{displayLanguageOption text=$langName}</option> {/foreach} *} {foreach from=$allLangs key=langCode item=langName} <option value="{$langCode}"{if $userLang == $langCode} selected="selected"{/if}>{translate text=$langName}</option> {/foreach} This workaround avoids the Smarty error but I'd still like to know how to really solve it. Could it be that I need to update php5 since Smarty seems to be a part of it? My server has PHP Version 5.2.14 Kate |