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

Syntax error in template, unclosed {if} tag

 
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 -> Tips and Tricks
View previous topic :: View next topic  
Author Message
WBuilder
Smarty n00b


Joined: 09 Mar 2019
Posts: 1

PostPosted: Sat Mar 09, 2019 11:27 pm    Post subject: Syntax error in template, unclosed {if} tag Reply with quote

Столкнулся с проблемой. На одном сервере шаблонизатор вылетал с совершенно дурацкими ошибками, типа "а у вас тэг {if} не закрыт" в коде шаблона из 7 строк. Пытался менять код шаблона, версии PHP - ничего не помогало. При этом на другом сервере всё прекрасно работает. А "ларчик просто открывался": в php.ini прописана "волшебная" строчка mbstring.func_overload = 2
Убил на это почти целый день Sad
"Век живи - век учись, а всё равно дураком помрёшь"
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Sun Mar 10, 2019 2:10 pm    Post subject: Reply with quote

Не должно было это влиять.
Шаблончик не дадите для анализов?
Будет совершенно замечательно, если вы форкнете https://github.com/AnrDaemon/test-001 и воспроизведёте проблему в отдельном бранче.
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 -> Tips and Tricks 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