Features / Usability

Features / Usability

SmartyCompilerException' with message 'Syntax Error



I'm a non tech newbie and have installed v10 on a hosted site with Linux CentOS.

Following http://doc.tiki.org/Anti-spam

"If you just use the basic registration form by default (no user tracker to collect more information from users at registration time), then use this other code:...."

I mistyped some text and get the following when I try to log in to site:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "c49d4f486794ea6ef233183e46cb88714e5f31e1" on line 1 "{if$mid eq "tiki-register.tpl"}{literal}$(formname='RegForm'").prepend("<b>Passcode to Register.</b><i>WW2</i><br/>");{/literal}{/jq}{/if}" - Unexpected "$", expected one of: "}" , " " , ATTR' in /home2/markr/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:657 Stack trace: #0 /home2/markr/public_html/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home2/markr/public_html/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(18, '$') #2 /home2/markr/public_html/lib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler in /home2/markr/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 657

I'd like to know how to access the text file on my host server so I can correct the text.

Any help most gratefully appreciated.


United States

If you're using an older version of Tiki, you'll need to edit the tiki_preferences database table directly, to remove the offending code.

See Tiki Essentials for details. Be sure to delete all the cache files, too.


- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Thanks very much Rick. Got there in the end. Interesting links.
Regards. Mark

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.