Note that there are some explanatory texts on larger screens.

plurals
  1. POSmarty Modifiers PHP
    text
    copied!<p>I am trying to get Smarty setup and working, so that I can install the open-source project here</p> <p><a href="http://sourceforge.net/projects/assign-calc/" rel="nofollow">http://sourceforge.net/projects/assign-calc/</a></p> <p>After following the install instructions, I get stuck with the following error message</p> <pre><code>&lt;b&gt;Fatal error&lt;/b&gt;: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template &amp;quot;/var/www/dev/calendar/skins/rpc/tmpl/page/rpc_header.tpl&amp;quot; on line 5 &amp;quot; {$application.long_name|escape}&amp;quot; unknown modifier &amp;quot;escape&amp;quot;' in /usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:423 Stack trace: #0 /usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_compile_private_modifier.php(62): Smarty_Internal_TemplateCompilerBase-&amp;gt;trigger_template_error('unknown modifie...', 5) #1 /usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(279): Smarty_Internal_Compile_Private_Modifier-&amp;gt;compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase-&amp;gt;callTagCompiler('private_modifie...', Array, Array) #3 /usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_compile_private_print_expression.php(68): Smarty_Internal_TemplateCompilerBase in &lt;b&gt;/usr/lib/php5/Smarty/Smarty/sysplugins/smarty_internal_templatecompilerbase.php&lt;/b&gt; on line &lt;b&gt;423&lt;/b&gt;&lt;br /&gt; </code></pre> <p>After a bit of googling, I think the problem is being cause by Smarty not reading the escape modifier in the plugins directory.</p> <p>How do I resolve this? I've even tried 777 the permissions on smarty, but that hasnt change anything...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload