[SOLVED] Issues with smarty parsing.
Posted: Mon Sep 26, 2011 11:04 pm
Hello,
I am the new webmaster of a website, and i'm also new to CMS Made Simple.
Running CMSMS 1.8.2 "Toliara"
PHP 5.2
Mysql 5.0
In the frontend user management, after logging in, the user has access to certain zones, determined by the group. Here is the zone template:
The problem is, when adding a new zone based on this template, I get this error
Working zone:
Broken zone:
Even by copying/pasting the exact html code of an working zone to a new zone, or by deleting all the files in
Any thoughts ? Thanks.
I am the new webmaster of a website, and i'm also new to CMS Made Simple.
Running CMSMS 1.8.2 "Toliara"
PHP 5.2
Mysql 5.0
In the frontend user management, after logging in, the user has access to certain zones, determined by the group. Here is the zone template:
Code: Select all
{if $ccuser->memberof("aGroup")}
some text.
{else}
some text
{/if}
So I'm checking of both the working zone and the broken zone in [quote tmp/templates_c[/quote] , and here is what I find:string(142) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';memberof("aGroup")' (Smarty_Compiler.class.php, line 1410)"
Parse error: syntax error, unexpected '&' in /home/www/6fc1aa3fc026927a635de77280cbf679/web/tmp/templates_c/175^%%70^707^707A8977%%content%3Acontent_en.php on line 3
Working zone:
Code: Select all
<?php if ($this->_tpl_vars['ccuser']->memberof("aGroup")): ?>
Code: Select all
<?php if ($this->_tpl_vars['ccuser']- & > ;memberof("aGroup")): ?>
, I'm still getting this issue.tmp/templates_c/
Any thoughts ? Thanks.