From: Václav R. <xro...@gm...> - 2012-09-21 09:14:51
|
Hi Katharina Check if web/interface/plugins/function.displayLanguageOption.php exists in your VuFind installation and is readable by apache. Vasek 2012/9/21 Katharina Wolkwitz <wol...@fh...>: > 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 > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |