|
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 |
koide Smarty Rookie
Joined: 06 May 2003 Posts: 5
|
Posted: Tue May 20, 2003 9:33 pm Post subject: Parse error in template generated PHP code |
|
|
Hi, i get a parse error in the php generated by Smarty and dunno why could this happen. Antoher weird thing is that checking line 81 of modificaraccion.tpl.php there is no '$'. A lot of very similar templates parse just fine and work. The error message is below:
parse error, unexpected $ in /path/to/the/site/templates_c/%%868/%%868797589/modificaraccion.tpl.php on line 81
What can i do to check or solve this? |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Tue May 20, 2003 10:07 pm Post subject: |
|
|
Post some code from the template, especially the portions that seem to compile incorrectly. |
|
Back to top |
|
koide Smarty Rookie
Joined: 06 May 2003 Posts: 5
|
Posted: Tue May 20, 2003 10:23 pm Post subject: My bad |
|
|
Always when i post on a forum or on a mailing list, i find the error just after hitting submit :-)
Well, this is the case here. The problem was a missing {/section}
*blush*
Well, in any case i think there should be better error reporting on smarty's side, because a missing 'missing $' is not very helpful. |
|
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
|