Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

whats wrong with section?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
shemeri
Smarty n00b


Joined: 13 Sep 2017
Posts: 1

PostPosted: Wed Sep 13, 2017 9:47 pm    Post subject: whats wrong with section? Reply with quote

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 Sad
Back to top
View user's profile Send private message
bsmither
Smarty Elite


Joined: 20 Dec 2011
Posts: 322
Location: West Coast

PostPosted: Thu Sep 14, 2017 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP