|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
shemeri Smarty n00b
Joined: 13 Sep 2017 Posts: 1
|
Posted: Wed Sep 13, 2017 9:47 pm Post subject: whats wrong with section? |
|
|
Hello,
This is driving me crazy!! I cannot see whats wrong, help is much approciated.
{section name=combiProducts start=0 loop=10 step=1}
unexpected "name" attribute
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "combimenu.html" on line 54 "{section name=combiProducts start=0 loop=10 step=1}" unexpected "name" attribute <-- thrown in smarty\v3.1.30\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 54
What am I doing wrong here |
|
Back to top |
|
bsmither Smarty Elite
Joined: 20 Dec 2011 Posts: 322 Location: West Coast
|
Posted: Thu Sep 14, 2017 1:19 am Post subject: |
|
|
I personally see nothing wrong with the syntax of that command.
So I would want to start looking at prior statements to see if I missed a closing quote, closing brace, or anything that would confuse Smarty by thinking {section would be part of something else. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|